Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change a glClear in the OpenGL renderer to improve performance on Mal…
…i chips.
  • Loading branch information
Sonicadvance1 committed Aug 2, 2013
1 parent ab0f426 commit 7d187dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 7d187dc

Please sign in to comment.