mesa: added gl_array_object::Weight array field
authorBrian Paul <brianp@vmware.com>
Thu, 21 May 2009 16:15:18 +0000 (10:15 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 21 May 2009 22:10:45 +0000 (16:10 -0600)
commit8fa0cb2b422abaeee1b69f82ca7e9f02dc8393b9
treef42bb9d372f6b0ba2600a0230682a97fbe7d6b55
parent1889890c88c3c10287ca4f84369190cc7029884f
mesa: added gl_array_object::Weight array field

We don't really implement vertex weights but in the VBO code this
fixes and odd case for the legacy_array[] setup.  Before, the
vbo->draw_prims() call was always indicating that the vertex weight
array was present/enabled when it really wasn't.
src/mesa/main/arrayobj.c
src/mesa/main/mtypes.h
src/mesa/vbo/vbo_exec_array.c