Merge pull request #1737 from degasus/master

OGL: don't clear the stencil buffer
This commit is contained in:
Pierre Bourdon 2014-12-20 15:34:39 +01:00
commit 9fb7091f36
1 changed files with 1 additions and 1 deletions

View File

@ -1732,7 +1732,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co
if (!DriverDetails::HasBug(DriverDetails::BUG_BROKENSWAP))
{
glClearColor(0, 0, 0, 0);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}
if (s_vsync != g_ActiveConfig.IsVSync())