fix minor bug in opengl1 framebuffer

This commit is contained in:
Eduardo Bart 2012-05-13 11:45:32 -03:00
parent e2dd71185b
commit 7b512bfa9f
1 changed files with 2 additions and 0 deletions

View File

@ -152,7 +152,9 @@ void FrameBuffer::internalRelease()
glCopyTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 0, 0, size.width(), size.height());
// restore screen original content
glDisable(GL_BLEND);
g_painter->drawTexturedRect(Rect(0, 0, size), m_screenBackup, Rect(0, 0, size));
glEnable(GL_BLEND);
}
}