glUseProgram and glBindFramebuffer order,
Members - Reputation: 893
Posted 20 December 2012 - 02:30 AM
The former binds the current program object (which tells OpenGL HOW to draw stuff) and the latter the current framebuffer object (which tells OpenGL WHERE to draw stuff).
Obviously, the order of the two doesn't matter, as long as you call them both before actually drawing anything.