From 0ced54f867d36e8b324155bef49e8abfebfc3237 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 12 Oct 2013 11:00:52 +0200 Subject: [PATCH] Some bugfixes from mupen64plus-libreto team --- source/gles2n64/src/OpenGL.cpp | 2 +- source/gles2n64/src/gSP.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) mode change 100644 => 100755 source/gles2n64/src/gSP.cpp 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]; -- 2.39.5