mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-17 11:19:49 -06:00
3D: faster and more accurate interpolation
This commit is contained in:
@ -891,6 +891,7 @@ void SubmitPolygon()
|
||||
else
|
||||
z = 0x3FFF;
|
||||
|
||||
// checkme (Z<0 shouldn't be possible, but Z>0xFFFFFF is possible)
|
||||
if (z < 0) z = 0;
|
||||
else if (z > 0xFFFFFF) z = 0xFFFFFF;
|
||||
|
||||
|
Reference in New Issue
Block a user