[Bug 7643] Supreme Commander crashes during play
Wine Bugs
wine-bugs at winehq.org
Mon Mar 12 14:12:43 CDT 2007
http://bugs.winehq.org/show_bug.cgi?id=7643
------- Additional Comments From hverbeet at gmail.com 2007-12-03 14:12 -------
>+ pLockedRect->pBits = This->resource.allocatedMemory + (pLockedRect->Pitch *
pRect->top / 8) + ((pRect->left * This->bytesPerPixel / 2));
I think you should divide by 4 there as well. DXT1 blocks are 4x4 as well, and
the divide by 2 at the end already takes care of the fact that it uses only 4
bits for each pixel.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list