mesa: Add primitive restart support to glArrayElement
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 1 May 2012 07:01:08 +0000 (00:01 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sun, 6 May 2012 03:35:08 +0000 (20:35 -0700)
commit5795d3b5aec767dc2d7901b432f9182121b8e46f
treed9ed34369035c9d361113e2db8cda6c208685747
parent0ad0bc5af5679c1ea669a768449bec3fd67fdd74
mesa: Add primitive restart support to glArrayElement

When primitive restart is enabled, and glArrayElement is called
with the restart index value, then call glPrimitiveRestartNV.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul<brianp@vmware.com>
src/mesa/main/api_arrayelt.c