mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-09 15:33:10 +00:00
Bind fake backbuffer instead of default framebuffer
This commit is contained in:
1 parent
3124614fc2
commit
cea719f7cf
1 file changed
+1
-1
@@ -545,7 +545,7 @@ bool WrappedOpenGL::Serialise_glReadBuffer(GLenum mode)
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Real.glBindFramebuffer(eGL_READ_FRAMEBUFFER, 0);
|
||||
m_Real.glBindFramebuffer(eGL_READ_FRAMEBUFFER, m_FakeBB_FBO);
|
||||
}
|
||||
|
||||
m_Real.glReadBuffer(m);
|
||||
|
||||
Reference in new issue
Block a user