http://bugs.winehq.org/show_bug.cgi?id=7643
------- Additional Comments From hverbeet@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.