diff options
author | michal <michal@transistor.(none)> | 2009-12-10 09:29:15 +0100 |
---|---|---|
committer | michal <michal@transistor.(none)> | 2009-12-10 09:29:15 +0100 |
commit | 3a7314a78d2d239aef4032445c41e530ec13d3e0 (patch) | |
tree | 2db9ae507756b8004670b0f3df17ad2fc58b7b40 /src/gallium/drivers/softpipe | |
parent | 1fb440beb9cccbe6f4bbd309792a89f6e1b4ee3f (diff) |
gallium: Silence compiler warnings.
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state_sampler.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_sampler.c b/src/gallium/drivers/softpipe/sp_state_sampler.c index 5a92e2223ef..8922941994a 100644 --- a/src/gallium/drivers/softpipe/sp_state_sampler.c +++ b/src/gallium/drivers/softpipe/sp_state_sampler.c @@ -126,7 +126,6 @@ softpipe_create_sampler_view(struct pipe_context *pipe, struct pipe_texture *texture, const struct pipe_sampler_view *templ) { - struct softpipe_context *softpipe = softpipe_context(pipe); struct pipe_sampler_view *view = CALLOC_STRUCT(pipe_sampler_view); *view = *templ; @@ -143,8 +142,6 @@ void softpipe_sampler_view_destroy(struct pipe_context *pipe, struct pipe_sampler_view *view) { - struct softpipe_context *softpipe = softpipe_context(pipe); - pipe_texture_reference(&view->texture, NULL); FREE(view); } |