r600g: remove unused variables
authorDave Airlie <airlied@redhat.com>
Thu, 3 Feb 2011 23:08:18 +0000 (09:08 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 3 Feb 2011 23:09:45 +0000 (09:09 +1000)
src/gallium/drivers/r600/r600_blit.c

index 2c6d217abe7a0b7020b8f76d3ac6bf87fa21c839..de54da8714f4c6acec8209ea6f61d140a7d828bb 100644 (file)
@@ -239,10 +239,6 @@ void r600_init_blit_functions(struct r600_pipe_context *rctx)
 
 void r600_blit_push_depth(struct pipe_context *ctx, struct r600_resource_texture *texture)
 {
-       struct r600_pipe_context *rctx = (struct r600_pipe_context *)ctx;
-       struct pipe_surface *zsurf, *cbsurf, surf_tmpl;
-       int level = 0;
-       float depth = 1.0f;
        struct pipe_box sbox;
 
        sbox.x = sbox.y = sbox.z = 0;