mesa: fix attachment error checking for glGetFramebufferAttachmentParameteriv()
authorBrian Paul <brianp@vmware.com>
Tue, 22 Jun 2010 14:37:44 +0000 (08:37 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 23 Jun 2010 03:55:51 +0000 (21:55 -0600)
commit61ec20581696004acad516b14ca4a8a5ae9e6f1d
tree9e5a44c3278a749ccd76f083e6ec989a6a1f3cf1
parenta20fa674482f95c31c199b94165e532c8cb6624e
mesa: fix attachment error checking for glGetFramebufferAttachmentParameteriv()

This is a follow-on to commit 80dfec3e53fd5b5c8c31fb16376c9910258c91b0.

The valid attachments for glGetFramebufferAttachmentParameteriv() depends
on whether we're querying the default FBO or a user-created FBO.
src/mesa/main/fbobject.c