OSDN Git Service

mesa/es: Validate glEnable cap in Mesa code rather than the ES wrapper
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 27 Jul 2012 18:56:42 +0000 (11:56 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Aug 2012 22:09:34 +0000 (15:09 -0700)
commit08be1d288f216232d3974f5997b266a8dd720928
treebcaef6428e387d3c437dd164407819ddf6807bab
parentbca2cece02385a14f61d5dd8d31aba775b0afb8e
mesa/es: Validate glEnable cap in Mesa code rather than the ES wrapper

Also handle glDisable, glIsEnabled, glEnableClientState, and
glDisableClientState.

v2: Add proper core-profile and GLES3 filtering.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/APIspec.xml
src/mesa/main/enable.c