mesa: fix assertion in _mesa_drawbuffers()
authorBrian Paul <brianp@vmware.com>
Fri, 8 Aug 2014 21:01:50 +0000 (15:01 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 11 Aug 2014 15:44:51 +0000 (09:44 -0600)
commit39b40ad144f5f587e505b45048e33a03641ba857
tree046e680534c5d120ae7d510949710c014bbeab48
parentdd8f15a5533cf2847c8039b626cdc7ee18b1eccf
mesa: fix assertion in _mesa_drawbuffers()

Fixes failed assertion when _mesa_update_draw_buffers() was called
with GL_DRAW_BUFFER == GL_FRONT_AND_BACK.  The piglit gl30basic hit
this.

Cc: "10.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/buffers.c