Unbind FBO before returning from gl_init_fbo().

This commit is contained in:
Hans-Kristian Arntzen 2012-01-27 01:00:09 +01:00
parent a061fa081c
commit e9fb18f594
1 changed files with 1 additions and 0 deletions

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: