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 5bbf11c..31eab39 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;