diff options
Diffstat (limited to 'src/GPU3D_OpenGL.cpp')
-rw-r--r-- | src/GPU3D_OpenGL.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/GPU3D_OpenGL.cpp b/src/GPU3D_OpenGL.cpp index 2f25912..0d86690 100644 --- a/src/GPU3D_OpenGL.cpp +++ b/src/GPU3D_OpenGL.cpp @@ -582,7 +582,10 @@ void BuildPolygons(RendererPolygon* polygons, int npolys) y = vtx->FinalPosition[1]; } - if (lastx == x && lasty == y) continue; + if (j > 0) + { + if (lastx == x && lasty == y) continue; + } *vptr++ = x | (y << 16); *vptr++ = z | (w << 16); |