projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c22e35
)
softpipe: remove unused vars in softpipe_clear()
author
Brian Paul
<brianp@vmware.com>
Tue, 18 Oct 2011 14:27:52 +0000
(08:27 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 18 Oct 2011 21:43:22 +0000
(15:43 -0600)
src/gallium/drivers/softpipe/sp_clear.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_clear.c
b/src/gallium/drivers/softpipe/sp_clear.c
index 3cb3b72c26424d7fc8f3cd194ca1a83271151e03..b59524a2214d0add0c4e4cc9a9808661b12fadb7 100644
(file)
--- 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);
}
}