2 May
2023
2 May
'23
7:17 p.m.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54901 The pitch is treated as a byte offset between the rows of blocks in tx_compress_dxtn(), so is the Pitch from _LockRect() so it doesn't need a fixup. That pitch has any effect only when dst texture stride is larger than width being compressed, that's why it was mostly not causing problems before. -- v2: d3dx9: Fix dst pitch for compressed format in D3DXLoadSurfaceFromMemory(). https://gitlab.winehq.org/wine/wine/-/merge_requests/2725