Go directly to real glBindFrameBuffer when binding real backbuffer

This commit is contained in:
baldurk
2014-11-16 23:06:14 +00:00
parent 8ef2505e77
commit 86dc50c4fb
+2 -1
View File
@@ -248,7 +248,8 @@ void GLReplay::FlipOutputWindow(uint64_t id)
WrappedOpenGL &gl = *m_pDriver;
gl.glBindFramebuffer(eGL_FRAMEBUFFER, 0);
// go directly to real function so we don't try to bind the 'fake' backbuffer FBO.
gl.m_Real.glBindFramebuffer(eGL_FRAMEBUFFER, 0);
gl.glViewport(0, 0, outw.width, outw.height);
gl.glUseProgram(DebugData.blitProg);