PDA

View Full Version : glPushAttrib Doesn't Mix with glBindFramebuffer



NGenGZ
09-05-2012, 11:11 PM
Whenever calling glPushAttrib with nothing but GL_COLOR_BUFFER_BIT as a parameter, all subsequent calls to glBindFramebuffer generate a GL_INVALID_OPERATION message until the call to glPopAttrib is reached. Calling glPushAttrib with any parameter other than GL_COLOR_BUFFER_BIT works just fine, however. Any ideas on what could be causing this?