mesa: Add extension enable bit for GL_ARB_ES2_compatibility.
authorEric Anholt <eric@anholt.net>
Fri, 14 Jan 2011 22:50:58 +0000 (14:50 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 14 Jan 2011 23:28:50 +0000 (15:28 -0800)
src/mesa/main/extensions.c
src/mesa/main/mtypes.h

index 39aabdb752c1f569c2ab7f6cc1e2142b3c525da7..c41ae4ad2d9106aba2f6463ef8f1c924c653c81e 100644 (file)
@@ -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             },
index 8d2030e9cedf3a3c94c1a85254fbeb9eb89cab36..f76e1eb2ee02c563a2d5416f21dc4f80d38a6e5e 100644 (file)
@@ -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;