summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2012-11-10 06:36:10 +1000
committerDave Airlie <[email protected]>2012-11-10 06:39:38 +1000
commitaafdc5bda424c2b04f23a54480b402dd64333555 (patch)
tree7a1ae82507ae6b08bd2e43007975bb14241221c1
parentadd3a0709f3965107bb13d5305d80a225275c344 (diff)
softpipe: fix unused variable warning.
Signed-off-by: Dave Airlie <[email protected]>
-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 5bbf11cb0ad..31eab39ef0a 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;