From cae640eae63544211710a2848e23f6d1d74f827f Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 21 Oct 2007 17:14:46 -0600 Subject: silence warning --- src/mesa/pipe/softpipe/sp_clear.c | 2 +- src/mesa/pipe/softpipe/sp_flush.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/pipe/softpipe/sp_clear.c b/src/mesa/pipe/softpipe/sp_clear.c index 4f04f8243f..96bca4b171 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 5eb4d3367d..2b077c2021 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" -- cgit v1.2.3