diff options
author | Brian <[email protected]> | 2007-10-21 17:14:46 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-10-21 17:14:46 -0600 |
commit | cae640eae63544211710a2848e23f6d1d74f827f (patch) | |
tree | 2b7aa108bd51ac7dc8b2bc0f7435f04443336862 | |
parent | 49848208cf1faba49a83fb8872a29f6fa910127d (diff) |
silence warning
-rw-r--r-- | src/mesa/pipe/softpipe/sp_clear.c | 2 | ||||
-rw-r--r-- | src/mesa/pipe/softpipe/sp_flush.c | 1 |
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" |