summaryrefslogtreecommitdiff
path: root/src/i915_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-01-28 17:20:06 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-01-28 17:20:06 +0000
commita5a1ab7bbc58ec884cd0b90fe7139f402291b92f (patch)
tree64c847bedb9b96fb94701ed95df699567a0cfb2d /src/i915_render.c
parent2c9b3225d8c7b53e2d921705dbb069710abcea5d (diff)
i915: Remove unused 'w' and 'h'
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i915_render.c')
-rw-r--r--src/i915_render.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/i915_render.c b/src/i915_render.c
index 38c27b3f..d04e8e1e 100644
--- a/src/i915_render.c
+++ b/src/i915_render.c
@@ -302,12 +302,10 @@ static Bool i915_texture_setup(PicturePtr picture, PixmapPtr pixmap, int unit)
ScrnInfoPtr scrn = xf86Screens[picture->pDrawable->pScreen->myNum];
intel_screen_private *intel = intel_get_screen_private(scrn);
uint32_t format, pitch, filter;
- int w, h, i;
uint32_t wrap_mode, tiling_bits;
+ int i;
pitch = intel_pixmap_pitch(pixmap);
- w = picture->pDrawable->width;
- h = picture->pDrawable->height;
intel->scale_units[unit][0] = 1. / pixmap->drawable.width;
intel->scale_units[unit][1] = 1. / pixmap->drawable.height;