mesa: only update array _MaxElement if array is enabled
authorBrian Paul <brianp@vmware.com>
Wed, 18 May 2011 14:14:32 +0000 (08:14 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 18 May 2011 14:14:32 +0000 (08:14 -0600)
commit496bf04905197dc46c2dffe281008bd7f5edf8a8
tree04adba048a0f13fa44e958f4eadd4443c47ca2f3
parentde1df26b5c11a45f2b1ff2ddc7b8ec764356aa94
mesa: only update array _MaxElement if array is enabled

Fixes failed assertion when calling _mesa_print_arrays() debug function.
src/mesa/main/arrayobj.c