aboutsummaryrefslogtreecommitdiff
path: root/src/GPU3D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GPU3D.cpp')
-rw-r--r--src/GPU3D.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp
index 8d2f7ba..6b69b54 100644
--- a/src/GPU3D.cpp
+++ b/src/GPU3D.cpp
@@ -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;