Merge pull request #1737 from degasus/master
OGL: don't clear the stencil buffer
This commit is contained in:
commit
9fb7091f36
|
@ -1732,7 +1732,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co
|
||||||
if (!DriverDetails::HasBug(DriverDetails::BUG_BROKENSWAP))
|
if (!DriverDetails::HasBug(DriverDetails::BUG_BROKENSWAP))
|
||||||
{
|
{
|
||||||
glClearColor(0, 0, 0, 0);
|
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())
|
if (s_vsync != g_ActiveConfig.IsVSync())
|
||||||
|
|
Loading…
Reference in New Issue