diff options
author | Brian Paul <[email protected]> | 2010-04-20 20:52:56 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-04-20 20:52:56 -0600 |
commit | bd1d35fb5d3c889b11de5a1d493f711fc091fbed (patch) | |
tree | d7fa6eb620b256d9809ee0484749cee0e5e53aee /src/mesa/main/context.c | |
parent | d3e2f4fa18226f540ba83bde099edb67b795655c (diff) |
mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK query
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 2074b32b250..1707e229c91 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -566,6 +566,9 @@ _mesa_init_constants(GLcontext *ctx) ctx->Const.MaxTransformFeedbackSeparateAttribs = MAX_FEEDBACK_ATTRIBS; ctx->Const.MaxTransformFeedbackSeparateComponents = 4 * MAX_FEEDBACK_ATTRIBS; ctx->Const.MaxTransformFeedbackInterleavedComponents = 4 * MAX_FEEDBACK_ATTRIBS; + + /* GL 3.2: hard-coded for now: */ + ctx->Const.ProfileMask = GL_CONTEXT_COMPATIBILITY_PROFILE_BIT; } |