gsdx-ogl: only bind the FB to the draw FB

This commit is contained in:
Gregory Hainaut 2016-04-07 22:56:31 +02:00
parent d533c393b2
commit 7cc13ce99c
1 changed files with 1 additions and 1 deletions

View File

@ -1382,7 +1382,7 @@ void GSDeviceOGL::OMSetFBO(GLuint fbo)
{ {
if (GLState::fbo != fbo) { if (GLState::fbo != fbo) {
GLState::fbo = fbo; GLState::fbo = fbo;
glBindFramebuffer(GL_FRAMEBUFFER, fbo); glBindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo);
} }
} }