mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 01:08:39 +12:00
rsx: Fix int type not big enough
Fix glitch in After Burner Climax
This commit is contained in:
parent
440c637b1f
commit
f453194e32
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ namespace rsx
|
||||||
u32 y_mask = 0xAAAAAAAA;
|
u32 y_mask = 0xAAAAAAAA;
|
||||||
|
|
||||||
// We have to limit the masks to the lower of the two dimensions to allow for non-square textures
|
// 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
|
// double the limit mask to account for bits in both x and y
|
||||||
limit_mask = 1 << (limit_mask << 1);
|
limit_mask = 1 << (limit_mask << 1);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue