Module: Mesa
Branch: master
Commit: 9c6954fc9d254e0d6dc9bc7aac5badee04fe0f9b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c6954fc9d254e0d6dc9bc7aac5badee04fe0f9b

Author: Eric Anholt <[email protected]>
Date:   Fri Jan 14 14:50:58 2011 -0800

mesa: Add extension enable bit for GL_ARB_ES2_compatibility.

---

 src/mesa/main/extensions.c |    1 +
 src/mesa/main/mtypes.h     |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 39aabdb..c41ae4a 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 8d2030e..f76e1eb 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;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to