summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-06-27 02:08:44 -0700
committerStéphane Marchesin <[email protected]>2011-06-27 02:08:44 -0700
commitc191c87c81deafd3c8e2ea48251c8e0a1cc65253 (patch)
tree4347b36ca837bb8d7e17d6edbb4bf3fd2d163d22
parente2422f77a2b04f7611a4b4e0e5b0165c199ae90c (diff)
i915g: Remove unused cbuf_dirty.
-rw-r--r--src/gallium/drivers/i915/i915_context.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915/i915_context.c b/src/gallium/drivers/i915/i915_context.c
index 0d18c7a76be..28ff40a2328 100644
--- a/src/gallium/drivers/i915/i915_context.c
+++ b/src/gallium/drivers/i915/i915_context.c
@@ -54,13 +54,11 @@ i915_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info)
struct i915_context *i915 = i915_context(pipe);
struct draw_context *draw = i915->draw;
void *mapped_indices = NULL;
- unsigned cbuf_dirty;
/*
* Ack vs contants here, helps ipers a lot.
*/
- cbuf_dirty = i915->dirty & I915_NEW_VS_CONSTANTS;
i915->dirty &= ~I915_NEW_VS_CONSTANTS;
if (i915->dirty)