diff options
author | Brian Paul <brianp@vmware.com> | 2010-04-20 20:52:56 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-04-20 20:52:56 -0600 |
commit | bd1d35fb5d3c889b11de5a1d493f711fc091fbed (patch) | |
tree | d7fa6eb620b256d9809ee0484749cee0e5e53aee /src/mesa/main/get_gen.py | |
parent | d3e2f4fa18226f540ba83bde099edb67b795655c (diff) |
mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK query
Diffstat (limited to 'src/mesa/main/get_gen.py')
-rw-r--r-- | src/mesa/main/get_gen.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py index e6245e4bd8..63b64a97a9 100644 --- a/src/mesa/main/get_gen.py +++ b/src/mesa/main/get_gen.py @@ -1139,11 +1139,16 @@ StateVars = [ ["ctx->Const.MaxTransformFeedbackSeparateComponents"], "", NoState, ["EXT_transform_feedback"] ), - # GL3 + # GL 3.0 ( "GL_NUM_EXTENSIONS", GLint, ["_mesa_get_extension_count(ctx)"], "", NoState, NoExt ), ( "GL_MAJOR_VERSION", GLint, ["ctx->VersionMajor"], "", NoState, NoExt ), ( "GL_MINOR_VERSION", GLint, ["ctx->VersionMinor"], "", NoState, NoExt ), - ( "GL_CONTEXT_FLAGS", GLint, ["ctx->Const.ContextFlags"], "", NoState, NoExt ) + ( "GL_CONTEXT_FLAGS", GLint, ["ctx->Const.ContextFlags"], "", NoState, NoExt ), + + # GL 3.2 + ( "GL_CONTEXT_PROFILE_MASK", GLint, ["ctx->Const.ProfileMask"], "", + NoState, NoExt ) + ] |