aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-10-18 08:27:52 -0600
committerBrian Paul <[email protected]>2011-10-18 15:43:22 -0600
commit9a8791c889160a784207243bf46957647640da5f (patch)
tree98b28241aa7ad2aa27cea512e51adf8067d64b5a /src
parent3c22e3516527ccb83f2667abfa0e6518c5938df8 (diff)
softpipe: remove unused vars in softpipe_clear()
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/softpipe/sp_clear.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/softpipe/sp_clear.c b/src/gallium/drivers/softpipe/sp_clear.c
index 3cb3b72c264..b59524a2214 100644
--- a/src/gallium/drivers/softpipe/sp_clear.c
+++ b/src/gallium/drivers/softpipe/sp_clear.c
@@ -50,7 +50,6 @@ softpipe_clear(struct pipe_context *pipe, unsigned buffers,
double depth, unsigned stencil)
{
struct softpipe_context *softpipe = softpipe_context(pipe);
- union util_color uc;
unsigned cv;
uint i;
@@ -66,8 +65,6 @@ softpipe_clear(struct pipe_context *pipe, unsigned buffers,
if (buffers & PIPE_CLEAR_COLOR) {
for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) {
- struct pipe_surface *ps = softpipe->framebuffer.cbufs[i];
-
sp_tile_cache_clear(softpipe->cbuf_cache[i], color, 0);
}
}