diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-28 17:19:39 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-28 17:19:39 +0000 |
commit | 2c9b3225d8c7b53e2d921705dbb069710abcea5d (patch) | |
tree | 4c60d00970bb740adb759bfbb5c857de3fd51597 /src/i915_render.c | |
parent | c6dc27562abbc8ca9e873ad502ca49ae010461d2 (diff) |
i915: Remove unused 'num_floats' variable
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i915_render.c')
-rw-r--r-- | src/i915_render.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/i915_render.c b/src/i915_render.c index 9739a726..38c27b3f 100644 --- a/src/i915_render.c +++ b/src/i915_render.c @@ -547,7 +547,7 @@ i915_emit_composite_primitive(PixmapPtr dest, ScrnInfoPtr scrn = xf86Screens[dest->drawable.pScreen->myNum]; intel_screen_private *intel = intel_get_screen_private(scrn); Bool is_affine_src = TRUE, is_affine_mask = TRUE; - int per_vertex, num_floats; + int per_vertex; int tex_unit = 0; int src_unit = -1, mask_unit = -1; float src_x[3], src_y[3], src_w[3], mask_x[3], mask_y[3], mask_w[3]; @@ -666,8 +666,6 @@ i915_emit_composite_primitive(PixmapPtr dest, } } - num_floats = 3 * per_vertex; - OUT_VERTEX(dstX + w); OUT_VERTEX(dstY + h); if (! intel->render_source_is_solid) { |