mirror of https://github.com/cemu-project/Cemu.git
parent
d303a7f502
commit
3869b47c35
|
@ -548,6 +548,9 @@ void OpenGLRenderer::DrawBackbufferQuad(LatteTextureView* texView, RendererOutpu
|
|||
renderstate_resetDepthControl();
|
||||
attributeStream_reset();
|
||||
|
||||
// bind back buffer
|
||||
rendertarget_bindFramebufferObject(nullptr);
|
||||
|
||||
if (clearBackground)
|
||||
{
|
||||
int windowWidth, windowHeight;
|
||||
|
@ -559,9 +562,6 @@ void OpenGLRenderer::DrawBackbufferQuad(LatteTextureView* texView, RendererOutpu
|
|||
g_renderer->ClearColorbuffer(padView);
|
||||
}
|
||||
|
||||
// bind back buffer
|
||||
rendertarget_bindFramebufferObject(nullptr);
|
||||
|
||||
// calculate effective size
|
||||
sint32 effectiveWidth;
|
||||
sint32 effectiveHeight;
|
||||
|
|
Loading…
Reference in New Issue