Unbind FBO before returning from gl_init_fbo().

This commit is contained in:
Hans-Kristian Arntzen 2012-01-27 01:00:09 +01:00 committed by Themaister
parent db1765e788
commit e968d26ba8

View File

@ -380,6 +380,7 @@ static void gl_init_fbo(gl_t *gl, unsigned width, unsigned height)
}
gl->fbo_inited = true;
glBindFramebufferOES(GL_FRAMEBUFFER_OES, 0);
return;
error: