http://bugs.winehq.org/show_bug.cgi?id=11584
--- Comment #75 from Vitaliy Margolen vitaliy@kievinfo.com 2008-06-08 23:16:28 --- (In reply to comment #74)
SetGlTextureDesc calls AddDirtyRect, supposdately to set the dirty rectangle. AddDirtyRect calls ModifyLocation(INSYSMEM, TRUE). This will make PreLoad load the surface from the sysmem copy, rather than the drawable. Not good. I think the AddDirtyRect call in this case is wrong, and a leftover from older times.
Removing call to AddDirtyRect() doesn't make any difference. Maybe because it's already been called before in PreLoad()?