mirror of
https://github.com/izzy2lost/WeeU.git
synced 2026-07-06 00:19:59 -07:00
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user