diff options
| author | Ryan Houdek <Sonicadvance1@Gmail.com> | 2013-08-02 23:19:16 +0000 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@Gmail.com> | 2013-08-02 23:19:16 +0000 |
| commit | 7d187dc59781bb839af1cfc61f48c19bb1763c8e (patch) | |
| tree | 4728c6f235ce22889752c28b7d92686950dfe5f6 /Source/Plugins | |
| parent | ab0f42636dfc3ef41fcc96ebb88155ac5519c534 (diff) | |
Change a glClear in the OpenGL renderer to improve performance on Mali chips.
Diffstat (limited to 'Source/Plugins')
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
