summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-11-10 06:36:10 +1000
committerDave Airlie <airlied@redhat.com>2012-11-10 06:39:38 +1000
commitaafdc5bda424c2b04f23a54480b402dd64333555 (patch)
tree7a1ae82507ae6b08bd2e43007975bb14241221c1
parentadd3a0709f3965107bb13d5305d80a225275c344 (diff)
downloadexternal_mesa3d-aafdc5bda424c2b04f23a54480b402dd64333555.zip
external_mesa3d-aafdc5bda424c2b04f23a54480b402dd64333555.tar.gz
external_mesa3d-aafdc5bda424c2b04f23a54480b402dd64333555.tar.bz2
softpipe: fix unused variable warning.
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--src/gallium/drivers/softpipe/sp_tex_sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c
index 5bbf11c..31eab39 100644
--- a/src/gallium/drivers/softpipe/sp_tex_sample.c
+++ b/src/gallium/drivers/softpipe/sp_tex_sample.c
@@ -1445,7 +1445,7 @@ img_filter_cube_array_linear(struct tgsi_sampler *tgsi_sampler,
int width, height;
int x0, y0, x1, y1, layer;
float xw, yw; /* weights */
- union tex_tile_address addr, addrj;
+ union tex_tile_address addr;
const float *tx0, *tx1, *tx2, *tx3;
int c;