diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-28 17:19:39 +0000 |
---|---|---|
committer | Owain G. Ainsworth <oga@openbsd.org> | 2011-03-16 20:13:17 +0000 |
commit | def40ef00b4c478105fd3a5434a739cbf8f8032c (patch) | |
tree | bdd4a9fd7fda365ce306870d41af02c185e88774 /src/i915_render.c | |
parent | d950ce34352e94125c12cd4501dbb4fdc5972b24 (diff) |
i915: Remove unused 'num_floats' variable
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit 2c9b3225d8c7b53e2d921705dbb069710abcea5d)
Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
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 7f2b42e4..64edd805 100644 --- a/src/i915_render.c +++ b/src/i915_render.c @@ -543,7 +543,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]; @@ -662,8 +662,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) { |