summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-08-29 08:11:50 -0600
committerBrian Paul <[email protected]>2011-08-29 08:11:50 -0600
commitbeca3316fbf317c1032e73c9296c7777d35deb9d (patch)
tree21bc11d0d095d5e098dad1a48c7ab59c8f2d4dfe /src
parentd4e8f384776cb9fefe20e792493642e074e8b229 (diff)
i915g: remove unused var in i915_flush_heuristically()
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i915/i915_batch.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915/i915_batch.h b/src/gallium/drivers/i915/i915_batch.h
index 56d331f3e7a..30141cc745d 100644
--- a/src/gallium/drivers/i915/i915_batch.h
+++ b/src/gallium/drivers/i915/i915_batch.h
@@ -63,8 +63,6 @@ void i915_flush(struct i915_context *i915, struct pipe_fence_handle **fence);
static INLINE void i915_flush_heuristically(struct i915_context* i915,
int num_vertex)
{
- struct i915_winsys *iws = i915->iws;
-
i915->queued_vertices += num_vertex;
/* fire if we have more than 1/20th of the last frame's vertices */