mesa: fix vertex array validation test for attribute 0 (vert pos)
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 3 Jul 2008 01:18:10 +0000 (19:18 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 3 Jul 2008 01:18:10 +0000 (19:18 -0600)
commit1ca23061478868d61b9b2e6a30367e8e1de4a456
tree38c5222e4d05c865ed27f49802ef6a668a4fd2b9
parent98b7174ad6f6a74361e58136bdd235a092b07a40
mesa: fix vertex array validation test for attribute 0 (vert pos)

We don't actually need vertex array[0] enabled when using a vertex
program/shader.

cherry-picked from master
src/mesa/main/api_validate.c