mesa: Validate the drawing primitive against the transform feedback mode.
authorEric Anholt <eric@anholt.net>
Wed, 14 Mar 2012 21:44:22 +0000 (14:44 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 20 Mar 2012 05:01:53 +0000 (22:01 -0700)
commit56118ef9292caa947216d6b0a75c6ae588419556
tree6c90f3b763463fde7899f316fa99282359424b5f
parent7ca4f07b5b77ccac0a9b60dc5ac9082906b5947e
mesa: Validate the drawing primitive against the transform feedback mode.

Fixes piglit GL_EXT_transform_feedback/negative-prims.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/api_validate.c
src/mesa/main/transformfeedback.c
src/mesa/main/transformfeedback.h