mesa/gles3: Generate error on DrawElements* calls if transform feedback active.
authorPaul Berry <stereotype441@gmail.com>
Fri, 14 Dec 2012 20:20:08 +0000 (12:20 -0800)
committerPaul Berry <stereotype441@gmail.com>
Tue, 18 Dec 2012 16:31:34 +0000 (08:31 -0800)
commitfebc237141ab06a478d05752dedc858c2b4b8599
treefc5115f7491a5ba8bfa832934d3ee64fda3b3f03
parent3870f2903f030969491fa287b7f8d7eaf1d2f4f9
mesa/gles3: Generate error on DrawElements* calls if transform feedback active.

In GLES3, only glDrawArrays() and glDrawArraysInstanced() calls are
allowed when transform feedback is active.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/api_validate.c