summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-01-14 14:50:58 -0800
committerIan Romanick <ian.d.romanick@intel.com>2011-02-28 13:55:34 -0800
commit7992b590870be99b3e5431b7eb58d6808ef0d58c (patch)
tree7f411c06612ba8384cfd7243d0c635891fb075ca
parentac06d610fbf624301f136ed7e46767c18fe1ef49 (diff)
mesa: Add extension enable bit for GL_ARB_ES2_compatibility.
(cherry picked from commit 9c6954fc9d254e0d6dc9bc7aac5badee04fe0f9b)
-rw-r--r--src/mesa/main/extensions.c1
-rw-r--r--src/mesa/main/mtypes.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 05cbab60a50..ca3a676db2a 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -72,6 +72,7 @@ struct extension {
*/
static const struct extension extension_table[] = {
/* ARB Extensions */
+ { "GL_ARB_ES2_compatibility", o(ARB_ES2_compatibility), GL },
{ "GL_ARB_blend_func_extended", o(ARB_blend_func_extended), GL },
{ "GL_ARB_copy_buffer", o(ARB_copy_buffer), GL },
{ "GL_ARB_depth_buffer_float", o(ARB_depth_buffer_float), GL },
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 724b0ea6646..999ced55f3b 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2656,6 +2656,7 @@ struct gl_extensions
GLboolean dummy; /* don't remove this! */
GLboolean dummy_true; /* Set true by _mesa_init_extensions(). */
GLboolean dummy_false; /* Set false by _mesa_init_extensions(). */
+ GLboolean ARB_ES2_compatibility;
GLboolean ARB_blend_func_extended;
GLboolean ARB_copy_buffer;
GLboolean ARB_depth_buffer_float;