mesa: move gl_array_attrib::NewState to gl_array_object::NewArrays
authorBrian Paul <brianp@vmware.com>
Wed, 18 Apr 2012 16:47:10 +0000 (10:47 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 20 Apr 2012 13:32:33 +0000 (07:32 -0600)
commitb0e048f0b955ef79e2de794172de053d27d7d8fa
treea34dbcb7643b89f8a2686c135d04f6d5eb12bf1b
parent0615eb8fc3e516f56c27cddb6206f4e53142506c
mesa: move gl_array_attrib::NewState to gl_array_object::NewArrays

The field wasn't actually used before and it's not used now either.
But this is a more logical place for it and will hopefully allow
doing smarter draw/array validation (per array object) in the future.

Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/main/arrayobj.c
src/mesa/main/attrib.c
src/mesa/main/enable.c
src/mesa/main/mtypes.h
src/mesa/main/state.c
src/mesa/main/varray.c