GLES2N64: Some fixes from mupen64plus-ae team
[mupen64plus-pandora.git] / source / gles2n64 / src / gSP.cpp
old mode 100644 (file)
new mode 100755 (executable)
index 2b845f9..2ba5945
@@ -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)
@@ -1540,7 +1540,6 @@ void gSPBgRect1Cyc( u32 bg )
 void gSPBgRectCopy( u32 bg )
 {
 
-    return;
     u32 address = RSP_SegmentToPhysical( bg );
     uObjBg *objBg = (uObjBg*)&RDRAM[address];