mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-11 08:39:48 +12:00
renderer_gl: Avoid leaking clear color to display
This commit is contained in:
parent
b13491989e
commit
4107a84c0d
1 changed files with 1 additions and 0 deletions
|
@ -473,6 +473,7 @@ void RendererGL::display() {
|
|||
auto bottomScreen = colourBufferCache.findFromAddress(bottomScreenAddr);
|
||||
screenFramebuffer.bind(OpenGL::DrawFramebuffer);
|
||||
|
||||
OpenGL::setClearColor(0.f);
|
||||
OpenGL::clearColor();
|
||||
|
||||
if (topScreen) {
|
||||
|
|
Loading…
Add table
Reference in a new issue