r600g: remove unused variable
authorMarek Olšák <maraeo@gmail.com>
Wed, 8 Jun 2011 23:34:24 +0000 (01:34 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 8 Jun 2011 23:34:24 +0000 (01:34 +0200)
src/gallium/drivers/r600/r600_state.c

index 4e62857343ea087279a8c6863df2d09dc5e3308c..3851042965c9bc5601193388adfc9562271ed9fd 100644 (file)
@@ -407,7 +407,6 @@ static struct pipe_sampler_view *r600_create_sampler_view(struct pipe_context *c
                                                        struct pipe_resource *texture,
                                                        const struct pipe_sampler_view *state)
 {
-       struct r600_pipe_context *rctx = (struct r600_pipe_context *)ctx;
        struct r600_pipe_sampler_view *resource = CALLOC_STRUCT(r600_pipe_sampler_view);
        struct r600_pipe_resource_state *rstate;
        const struct util_format_description *desc;