From: ptitSeb Date: Sat, 12 Oct 2013 09:00:52 +0000 (+0200) Subject: Some bugfixes from mupen64plus-libreto team X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ced54f867d36e8b324155bef49e8abfebfc3237;p=mupen64plus-pandora.git Some bugfixes from mupen64plus-libreto team --- diff --git a/source/gles2n64/src/OpenGL.cpp b/source/gles2n64/src/OpenGL.cpp index a6e676d..dd0ca4d 100755 --- a/source/gles2n64/src/OpenGL.cpp +++ b/source/gles2n64/src/OpenGL.cpp @@ -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 ); //////// diff --git a/source/gles2n64/src/gSP.cpp b/source/gles2n64/src/gSP.cpp old mode 100644 new mode 100755 index 2b845f9..a9ae4ea --- a/source/gles2n64/src/gSP.cpp +++ b/source/gles2n64/src/gSP.cpp @@ -1540,7 +1540,6 @@ void gSPBgRect1Cyc( u32 bg ) void gSPBgRectCopy( u32 bg ) { - return; u32 address = RSP_SegmentToPhysical( bg ); uObjBg *objBg = (uObjBg*)&RDRAM[address];