mesa: don't draw arrays if vertex position array is not enabled
authorBrian Paul <brianp@vmware.com>
Mon, 2 Mar 2009 19:27:16 +0000 (12:27 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 2 Mar 2009 19:27:16 +0000 (12:27 -0700)
commit97dd2ddbd97ba95e8bc8ab572ec05e8081556e1e
tree076815825789ae873855b4bd311bda974e980e82
parentf1a083d4b8c86e0ba335ab162f60b6f2b8391c31
mesa: don't draw arrays if vertex position array is not enabled

For regular GL, we must have vertex positions in order to draw.  But ES2
doesn't have that requirement (positions can be computed from any array
of data).

See bug 19911.
src/mesa/main/api_validate.c