mesa: make fixed-pt and byte-valued arrays a runtime feature
authorBrian Paul <brianp@vmware.com>
Mon, 8 Nov 2010 01:35:35 +0000 (18:35 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 8 Nov 2010 01:35:35 +0000 (18:35 -0700)
commit11dd228415d9299f3afa81525d0e588135099b4b
tree40a4d9a3468c2cc0b9e519c8984db73b437c5c1e
parent802bd6b7059122bccaf4bd27ae4062a70aa4e918
mesa: make fixed-pt and byte-valued arrays a runtime feature

These ES1 features were only tested for in the vertex array code.
Checking the ctx->API field at runtime is cleaner than the #ifdef
stuff and supports choosing the API at runtime.
src/mesa/main/mfeatures.h
src/mesa/main/varray.c