mesa/es: Remove redundant texture target validation
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 20 Sep 2011 23:07:04 +0000 (16:07 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Aug 2012 23:05:11 +0000 (16:05 -0700)
commite39ea674d0a51bdd10205a1c554f5e25df09156f
tree5cbcbab3dbda3bbf8957a30c6151e50370b89ccf
parent386e2f32895b5e66982fc4c18a636ceabfb762fd
mesa/es: Remove redundant texture target validation

Mesa doesn't check the parameter passed to glMultiTexCoord*.  It does,
however, mask the texture value to prevent out-of-bounds writes.  This
patch will promote this non-conformant behavior to OpenGL ES 1.  I don't
think anyone will care, and the gets some silly code out of a hot path.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/APIspec.xml
src/mesa/main/es1_conversion.c