summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/i915_context.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-08-04 11:28:26 -0700
committerEric Anholt <[email protected]>2009-08-04 15:32:18 -0700
commitde80eeea0eebf00ee678b1a0fbd5fe67b00a8636 (patch)
tree2a59f8cfc8ff21d08ab3bb2f5ae01674dc602c75 /src/mesa/drivers/dri/i915/i915_context.c
parentb010814e9c7ed30cbdd60a49d81a6ea774c8c3a3 (diff)
intel: Add support for EXT_provoking_vertex.
Diffstat (limited to 'src/mesa/drivers/dri/i915/i915_context.c')
-rw-r--r--src/mesa/drivers/dri/i915/i915_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c
index 5aa41334b0b..bb08cf8d18f 100644
--- a/src/mesa/drivers/dri/i915/i915_context.c
+++ b/src/mesa/drivers/dri/i915/i915_context.c
@@ -77,6 +77,8 @@ i915InvalidateState(GLcontext * ctx, GLuint new_state)
i915_update_fog(ctx);
if (new_state & (_NEW_STENCIL | _NEW_BUFFERS | _NEW_POLYGON))
i915_update_stencil(ctx);
+ if (new_state & (_NEW_LIGHT))
+ i915_update_provoking_vertex(ctx);
}