mesa: move error handling into disable_vertex_array_attrib() callers
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 28 Jun 2017 04:03:07 +0000 (14:03 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 28 Jun 2017 22:54:11 +0000 (08:54 +1000)
commit73e0140acc118e0a53ac601adba9fe85833ff32c
treeeb2e201c15a7ec932c2b0b37a57b01798292b567
parentd731b189335545abeb71b1cfc8b0562370d68d87
mesa: move error handling into disable_vertex_array_attrib() callers

This will let us just call disable_vertex_array_attrib() for
KHR_no_error support.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/mesa/main/varray.c