Re: wined3d: Fix ATI2N pitch and offset calculations
16 Mar
2010
16 Mar
'10
7:47 a.m.
Am 16.03.2010 um 01:36 schrieb REalm:
Fix ATI2N calculations to match Windows. Not sure if this is the right way, but it's better than previous old try. Might also be possible making ATI2N non compressed surface? Or some special flag? This also fixes bug 21519: Mass Effect 2 crashes after start.
- {WINED3DFMT_ATI2N, 4, 4, 16}, + {WINED3DFMT_ATI2N, 1, 1, 1}, This way is OK IMO, it's certainly better than adding a special flag for just this surface. What we may think about is migrating all surfaces to the block notation and using blocksize 1x1, bpp bytes per block for uncompressed surfaces. That's beyond the scope of this patch though.
5756
Age (days ago)
5756
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Dösinger