GLES2N64: Some fixes from mupen64plus-ae team
authorptitSeb <sebastien.chev@gmail.com>
Thu, 17 Oct 2013 20:07:46 +0000 (22:07 +0200)
committerptitSeb <sebastien.chev@gmail.com>
Thu, 17 Oct 2013 20:07:46 +0000 (22:07 +0200)
source/gles2n64/src/gSP.cpp

index a9ae4ea..2ba5945 100755 (executable)
@@ -1175,7 +1175,7 @@ void gSPDMATriangles( u32 tris, u32 n )
 
         if ((gSP.geometryMode&G_CULL_BOTH) != mode)
         {
-            OGL_DrawTriangles();
+//            OGL_DrawTriangles();
             gSP.geometryMode &= ~G_CULL_BOTH;
             gSP.geometryMode |= mode;
             gSP.changed |= CHANGED_GEOMETRYMODE;
@@ -1195,9 +1195,9 @@ void gSPDMATriangles( u32 tris, u32 n )
         triangles++;
     }
 
-#ifdef __TRIBUFFER_OPT
+//#ifdef __TRIBUFFER_OPT
     OGL_DrawTriangles();
-#endif
+//#endif
 }
 
 void gSP1Quadrangle( s32 v0, s32 v1, s32 v2, s32 v3)