mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
Change a glClear in the OpenGL renderer to improve performance on Mali chips.
This commit is contained in:
parent
ab0f42636d
commit
7d187dc597
1 changed files with 1 additions and 1 deletions
|
@ -1542,7 +1542,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
|
||||||
if(!g_ActiveConfig.bAnaglyphStereo)
|
if(!g_ActiveConfig.bAnaglyphStereo)
|
||||||
{
|
{
|
||||||
glClearColor(0, 0, 0, 0);
|
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();
|
GL_REPORT_ERRORD();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue