GL: clear gl framebuffer before drawing a direct FB write
This commit is contained in:
parent
ac4a98ec85
commit
9de8379434
|
@ -1912,6 +1912,8 @@ bool RenderFrame()
|
|||
}
|
||||
else
|
||||
{
|
||||
glcache.ClearColor(0.f, 0.f, 0.f, 0.f);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
DrawFramebuffer(dc_width, dc_height);
|
||||
}
|
||||
#if HOST_OS==OS_WINDOWS
|
||||
|
|
Loading…
Reference in New Issue