mesa: Trigger FBO validation on DrawBuffers change in non-ES2 mode.
authorEric Anholt <eric@anholt.net>
Wed, 25 May 2011 20:43:02 +0000 (13:43 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 26 May 2011 15:54:29 +0000 (08:54 -0700)
commitf73ff463a2175039c5a54a9a15d65a9a2d1fae25
tree82e0643d4e6c1e751371e39e72c35b0ace429917
parent179a88d52c00970a450c98bc7bc6179c32432a08
mesa: Trigger FBO validation on DrawBuffers change in non-ES2 mode.

glDrawBuffers pointing at an unattached buffer is supposed to be
incomplete without ARB_ES2_compatibility.  The testcase to catch the
bug of not implementing that bit of the spec was tricked by this
missing piece of state update.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/buffers.c