summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-21 17:14:46 -0600
committerBrian <[email protected]>2007-10-21 17:14:46 -0600
commitcae640eae63544211710a2848e23f6d1d74f827f (patch)
tree2b7aa108bd51ac7dc8b2bc0f7435f04443336862 /src/mesa/pipe/softpipe
parent49848208cf1faba49a83fb8872a29f6fa910127d (diff)
silence warning
Diffstat (limited to 'src/mesa/pipe/softpipe')
-rw-r--r--src/mesa/pipe/softpipe/sp_clear.c2
-rw-r--r--src/mesa/pipe/softpipe/sp_flush.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_clear.c b/src/mesa/pipe/softpipe/sp_clear.c
index 4f04f8243fa..96bca4b171b 100644
--- a/src/mesa/pipe/softpipe/sp_clear.c
+++ b/src/mesa/pipe/softpipe/sp_clear.c
@@ -47,7 +47,7 @@ softpipe_clear(struct pipe_context *pipe, struct pipe_surface *ps,
unsigned clearValue)
{
struct softpipe_context *softpipe = softpipe_context(pipe);
- struct softpipe_surface *sps = softpipe_surface(ps);
+ /*struct softpipe_surface *sps = softpipe_surface(ps);*/
unsigned x, y, w, h;
softpipe_update_derived(softpipe); /* not needed?? */
diff --git a/src/mesa/pipe/softpipe/sp_flush.c b/src/mesa/pipe/softpipe/sp_flush.c
index 5eb4d3367d1..2b077c20210 100644
--- a/src/mesa/pipe/softpipe/sp_flush.c
+++ b/src/mesa/pipe/softpipe/sp_flush.c
@@ -34,6 +34,7 @@
#include "sp_flush.h"
#include "sp_context.h"
#include "sp_surface.h"
+#include "sp_state.h"
#include "sp_tile_cache.h"
#include "sp_winsys.h"