summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_blit.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-02-07 07:48:46 -0700
committerBrian Paul <[email protected]>2012-02-07 07:48:46 -0700
commit7335cf1c326c7815164c242e19ba0c0b2b19f0f6 (patch)
treea1bd078e45ee5694030a9cd489ae994026465a0c /src/gallium/drivers/r600/r600_blit.c
parent938671397f6e88b68e77c93d6b440f9602950fbe (diff)
r600g: remove unused vars to silence warnings
Diffstat (limited to 'src/gallium/drivers/r600/r600_blit.c')
-rw-r--r--src/gallium/drivers/r600/r600_blit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index ff720c9a028..2ec39e8c89a 100644
--- a/src/gallium/drivers/r600/r600_blit.c
+++ b/src/gallium/drivers/r600/r600_blit.c
@@ -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;