From 7d187dc59781bb839af1cfc61f48c19bb1763c8e Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Fri, 2 Aug 2013 23:19:16 +0000 Subject: [PATCH] Change a glClear in the OpenGL renderer to improve performance on Mali chips. --- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index daf3f7f6be..5c2f2e1bd1 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -1542,7 +1542,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons if(!g_ActiveConfig.bAnaglyphStereo) { glClearColor(0, 0, 0, 0); - glClear(GL_COLOR_BUFFER_BIT); + glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); } GL_REPORT_ERRORD();