summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-04-20 20:52:56 -0600
committerBrian Paul <[email protected]>2010-04-20 20:52:56 -0600
commitbd1d35fb5d3c889b11de5a1d493f711fc091fbed (patch)
treed7fa6eb620b256d9809ee0484749cee0e5e53aee /src/mesa/main/context.c
parentd3e2f4fa18226f540ba83bde099edb67b795655c (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.c3
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;
}