summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-01-14 14:50:58 -0800
committerEric Anholt <[email protected]>2011-01-14 15:28:50 -0800
commit9c6954fc9d254e0d6dc9bc7aac5badee04fe0f9b (patch)
tree83125c4cf31fc7a265e3e9024fa73744ef68dfda
parent841ad6bfad27b2d8a196169b81235312a5e5f36a (diff)
mesa: Add extension enable bit for GL_ARB_ES2_compatibility.
-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 39aabdb752c..c41ae4ad2d9 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -73,6 +73,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 8d2030e9ced..f76e1eb2ee0 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2657,6 +2657,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;