mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
OGL: don't clear the stencil buffer
We don't have one. This should remove some spamming of the nvidia driver.
This commit is contained in:
parent
a560d8f150
commit
3322c55484
@ -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…
x
Reference in New Issue
Block a user