mesa: Don't allow glSamplerParameteriv(GL_TEXTURE_CUBE_MAP_SEAMLESS) in ES
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 4 Sep 2013 17:44:55 +0000 (10:44 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sun, 8 Sep 2013 14:54:12 +0000 (07:54 -0700)
commite334ff43c4d6a42b903cc1fbcfd77e34473d336a
tree761732444b6fda7a723e42f0cede27fb75afd4b4
parent7efe55cb2dbba61a73e442ecf355ac376b1d4b99
mesa: Don't allow glSamplerParameteriv(GL_TEXTURE_CUBE_MAP_SEAMLESS) in ES

There is no GL_TEXTURE_CUBE_MAP_SEAMLESS in any version of OpenGL ES or
in any extension that applies to OpenGL ES.  The same error check
already occurs for glTexParameteri.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Cc: Maxence Le Dore <maxence.ledore@gmail.com>
src/mesa/main/samplerobj.c