summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get_gen.py
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-03-20 11:50:29 -0600
committerBrian Paul <[email protected]>2010-03-20 12:06:35 -0600
commit00225af999acabcd5eced0b075b0a56018fd5eb8 (patch)
treef8fd25112c8f01bf614700d3221b57147aa5df81 /src/mesa/main/get_gen.py
parent05c03c6a1bcfb8ad77d3025f166f02ddaa741aa2 (diff)
mesa: added GL3 ContextFlags field and query code
Diffstat (limited to 'src/mesa/main/get_gen.py')
-rw-r--r--src/mesa/main/get_gen.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py
index 9d5a51d58c5..3b0a5130f98 100644
--- a/src/mesa/main/get_gen.py
+++ b/src/mesa/main/get_gen.py
@@ -1062,7 +1062,8 @@ StateVars = [
# GL3
( "GL_NUM_EXTENSIONS", GLint, ["_mesa_get_extension_count(ctx)"], "", None ),
( "GL_MAJOR_VERSION", GLint, ["ctx->VersionMajor"], "", None ),
- ( "GL_MINOR_VERSION", GLint, ["ctx->VersionMinor"], "", None )
+ ( "GL_MINOR_VERSION", GLint, ["ctx->VersionMinor"], "", None ),
+ ( "GL_CONTEXT_FLAGS", GLint, ["ctx->Const.ContextFlags"], "", None )
]