Original Post
glMatrixMode(GL_VIEWPORT); glLoadIdentity(); glViewport(0, 0, 512, 512); glBindFramebuffersEXT(); /* Bind */ glMatrixMode(GL_VIEWPORT); glLoadIdentity(); glViewport(0, 0, 256, 256); glBindFramebuffersEXT(); /* Unbind */ Shouldn't be the viewport still be glViewport(0, 0, 512, 512); ?