Apply the fake backbuffer in glDrawBuffers

This commit is contained in:
baldurk
2018-02-13 17:18:20 +00:00
parent caaa392e85
commit 8b66e3dcd9
@@ -1596,7 +1596,7 @@ bool WrappedOpenGL::Serialise_glFramebufferDrawBuffersEXT(SerialiserType &ser,
buffers[i] = eGL_COLOR_ATTACHMENT0;
}
m_Real.glFramebufferDrawBuffersEXT(framebuffer.name, n, bufs);
m_Real.glFramebufferDrawBuffersEXT(framebuffer.name ? framebuffer.name : m_FakeBB_FBO, n, bufs);
}
return true;