Some bugfixes from mupen64plus-libreto team
authorptitSeb <sebastien.chev@gmail.com>
Sat, 12 Oct 2013 09:00:52 +0000 (11:00 +0200)
committerptitSeb <sebastien.chev@gmail.com>
Sat, 12 Oct 2013 09:00:52 +0000 (11:00 +0200)
source/gles2n64/src/OpenGL.cpp
source/gles2n64/src/gSP.cpp [changed mode: 0644->0755]

index a6e676d..dd0ca4d 100755 (executable)
@@ -1162,7 +1162,7 @@ void OGL_ClearDepthBuffer()
 //    glClearDepthf( depth );  // broken on Qualcomm Adreno
     glClearDepthf( 1.0f );  // fixes missing graphics on Qualcomm Adreno
     glClearColor( 0, 0, 0, 1 );
-    glClear( GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT );
+    glClear( GL_DEPTH_BUFFER_BIT );
     OGL_UpdateDepthUpdate();
     glEnable( GL_SCISSOR_TEST );
 ////////
old mode 100644 (file)
new mode 100755 (executable)
index 2b845f9..a9ae4ea
@@ -1540,7 +1540,6 @@ void gSPBgRect1Cyc( u32 bg )
 void gSPBgRectCopy( u32 bg )
 {
 
-    return;
     u32 address = RSP_SegmentToPhysical( bg );
     uObjBg *objBg = (uObjBg*)&RDRAM[address];