summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-05-28 12:30:25 -0600
committerBrian Paul <[email protected]>2009-05-28 12:30:25 -0600
commit89966cdb1b5974059c32308d74b5bb09943a6fa1 (patch)
tree67f55e65eec3bee1dbbdc963096c3f2242b2137b /src/mesa/main/context.c
parentbd6c44458f132830d40f7c4d44ae249d8725b132 (diff)
mesa: data structure updates for GL_EXT_provoking_vertex
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 ff9dd488c74..d9f10468aae 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -592,6 +592,9 @@ _mesa_init_constants(GLcontext *ctx)
/* GL_ATI_envmap_bumpmap */
ctx->Const.SupportedBumpUnits = SUPPORTED_ATI_BUMP_UNITS;
+ /* GL_EXT_provoking_vertex */
+ ctx->Const.QuadsFollowProvokingVertexConvention = GL_TRUE;
+
/* sanity checks */
ASSERT(ctx->Const.MaxTextureUnits == MIN2(ctx->Const.MaxTextureImageUnits,
ctx->Const.MaxTextureCoordUnits));