Mesa (7.9): mesa: Add extension enable bit for GL_ARB_ES2_compatibility.

Ian Romanick idr at kemper.freedesktop.org
Mon Feb 28 14:27:51 PST 2011


Module: Mesa
Branch: 7.9
Commit: e63f8638cd1de50feb74013dc5d3539c902a1890
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e63f8638cd1de50feb74013dc5d3539c902a1890

Author: Eric Anholt <eric at anholt.net>
Date:   Fri Jan 14 14:50:58 2011 -0800

mesa: Add extension enable bit for GL_ARB_ES2_compatibility.

(cherry picked from commit 9c6954fc9d254e0d6dc9bc7aac5badee04fe0f9b)

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

---

 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 5f63494..db6c37c 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -44,6 +44,7 @@ static const struct {
    const char *name;
    int flag_offset;
 } default_extensions[] = {
+   { OFF, "GL_ARB_ES2_compatibility",          F(ARB_ES2_compatibility) },
    { OFF, "GL_ARB_blend_func_extended",        F(ARB_blend_func_extended) },
    { OFF, "GL_ARB_copy_buffer",                F(ARB_copy_buffer) },
    { OFF, "GL_ARB_depth_buffer_float",         F(ARB_depth_buffer_float) },
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 58958fd..b559b59 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2642,6 +2642,7 @@ struct gl_constants
 struct gl_extensions
 {
    GLboolean dummy;  /* don't remove this! */
+   GLboolean ARB_ES2_compatibility;
    GLboolean ARB_blend_func_extended;
    GLboolean ARB_copy_buffer;
    GLboolean ARB_depth_buffer_float;



More information about the mesa-commit mailing list