softpipe: fix unused variable warning.
authorDave Airlie <airlied@redhat.com>
Fri, 9 Nov 2012 20:36:10 +0000 (06:36 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 9 Nov 2012 20:39:38 +0000 (06:39 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/softpipe/sp_tex_sample.c

index 5bbf11cb0ada3f03602876e43c2005f496ed1727..31eab39ef0a41b961f2e34d254bc271d0704f9a4 100644 (file)
@@ -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;