When popping GL_DRAW_BUFFER state, need to re-do error checking since
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 14 Apr 2006 02:25:35 +0000 (02:25 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 14 Apr 2006 02:25:35 +0000 (02:25 +0000)
commit730b26556bf0f82385059dfcb7488f4b9b349118
tree3eec2cddc1cce71344d4e58c005c02f033b6b58d
parent61608ecfa70fffaee083c37ce2b0138566b0e327
When popping GL_DRAW_BUFFER state, need to re-do error checking since
validity depends on whether a window-system FBO or user-created FBO is
currently bound.  glPopAttrib() may generate GL_INVALID_OPERATION because
of this.
src/mesa/main/attrib.c