diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-28 17:20:06 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-28 17:20:06 +0000 |
commit | a5a1ab7bbc58ec884cd0b90fe7139f402291b92f (patch) | |
tree | 64c847bedb9b96fb94701ed95df699567a0cfb2d /src/i915_render.c | |
parent | 2c9b3225d8c7b53e2d921705dbb069710abcea5d (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.c | 4 |
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; |