r600g: remove unused vars to silence warnings
authorBrian Paul <brianp@vmware.com>
Tue, 7 Feb 2012 14:48:46 +0000 (07:48 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 7 Feb 2012 14:48:46 +0000 (07:48 -0700)
src/gallium/drivers/r600/r600_blit.c

index ff720c9a028504665407c919100a361927c51f16..2ec39e8c89acb1aa7a25597b4c33372403b41cb7 100644 (file)
@@ -274,7 +274,6 @@ static void r600_compressed_to_blittable(struct pipe_resource *tex,
                                   struct texture_orig_info *orig)
 {
        struct r600_resource_texture *rtex = (struct r600_resource_texture*)tex;
-       struct r600_screen *rscreen = (struct r600_screen *)tex->screen;
        unsigned pixsize = util_format_get_blocksize(rtex->real_format);
        int new_format;
        int new_height, new_width;
@@ -309,7 +308,6 @@ static void r600_reset_blittable_to_compressed(struct pipe_resource *tex,
                                               struct texture_orig_info *orig)
 {
        struct r600_resource_texture *rtex = (struct r600_resource_texture*)tex;
-       struct r600_screen *rscreen = (struct r600_screen *)tex->screen;
 
        tex->format = orig->format;
        tex->width0 = orig->width0;