aboutsummaryrefslogtreecommitdiff
path: root/src/GPU3D.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-06-28 21:19:44 +0200
committerStapleButter <thetotalworm@gmail.com>2017-06-28 21:19:44 +0200
commitda10f9b3f6cad55dc5b10041be4e54f7d9b9373e (patch)
treeeeec4660fe38e50e23caff9d2290fd7ac8027bb9 /src/GPU3D.cpp
parent209a639461a9223af7114593ebd9aef0c5486aed (diff)
fix rendering for crapoed 'butterfly' polygons
Diffstat (limited to 'src/GPU3D.cpp')
-rw-r--r--src/GPU3D.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp
index db445c0..ca16faa 100644
--- a/src/GPU3D.cpp
+++ b/src/GPU3D.cpp
@@ -723,8 +723,7 @@ void SubmitPolygon()
// clipping
nverts = ClipPolygon<true>(clippedvertices, nverts, clipstart);
-//if (((CurPolygonAttr >> 16) & 0x1F) != 0x1F) nverts=0;
-//CurPolygonAttr|=0x1F0000;
+
if (nverts == 0)
{
LastStripPolygon = NULL;