aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
authormichal <michal@transistor.(none)>2009-12-10 09:29:15 +0100
committermichal <michal@transistor.(none)>2009-12-10 09:29:15 +0100
commit3a7314a78d2d239aef4032445c41e530ec13d3e0 (patch)
tree2db9ae507756b8004670b0f3df17ad2fc58b7b40 /src/gallium/drivers/svga
parent1fb440beb9cccbe6f4bbd309792a89f6e1b4ee3f (diff)
gallium: Silence compiler warnings.
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r--src/gallium/drivers/svga/svga_pipe_sampler.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_sampler.c b/src/gallium/drivers/svga/svga_pipe_sampler.c
index 26878177308..50fe962b28d 100644
--- a/src/gallium/drivers/svga/svga_pipe_sampler.c
+++ b/src/gallium/drivers/svga/svga_pipe_sampler.c
@@ -181,7 +181,6 @@ svga_create_sampler_view(struct pipe_context *pipe,
struct pipe_texture *texture,
const struct pipe_sampler_view *templ)
{
- struct svga_context *softpipe = svga_context(pipe);
struct pipe_sampler_view *view = CALLOC_STRUCT(pipe_sampler_view);
*view = *templ;
@@ -198,8 +197,6 @@ static void
svga_sampler_view_destroy(struct pipe_context *pipe,
struct pipe_sampler_view *view)
{
- struct svga_context *svga = svga_context(pipe);
-
pipe_texture_reference(&view->texture, NULL);
FREE(view);
}