[Bug 7643] Supreme Commander crashes during play

Wine Bugs wine-bugs at winehq.org
Mon Mar 12 09:20:45 CDT 2007


------- Additional Comments From hverbeet at gmail.com  2007-12-03 09:20 -------
>pLockedRect->pBits = This->resource.allocatedMemory + (pLockedRect->Pitch *
>pRect->top) + (pRect->left * This->bytesPerPixel);

I would need to test this a bit, but I think that line is wrong for the DXT
formats. Those formats are based on 4x4 blocks, with Pitch being the number of
bytes in a block times the width, so we should probably be using pRect->top / 4
rather than pRect->top there.

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