mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-23 03:02:53 +01:00
rsx: Fix int type not big enough
Fix glitch in After Burner Climax
This commit is contained in:
parent
440c637b1f
commit
f453194e32
@ -40,7 +40,7 @@ namespace rsx
|
||||
u32 y_mask = 0xAAAAAAAA;
|
||||
|
||||
// We have to limit the masks to the lower of the two dimensions to allow for non-square textures
|
||||
u16 limit_mask = (log2width < log2height) ? log2width : log2height;
|
||||
u32 limit_mask = (log2width < log2height) ? log2width : log2height;
|
||||
// double the limit mask to account for bits in both x and y
|
||||
limit_mask = 1 << (limit_mask << 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user