silence warning
authorBrian <brian.paul@tungstengraphics.com>
Sun, 21 Oct 2007 23:14:46 +0000 (17:14 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Sun, 21 Oct 2007 23:14:46 +0000 (17:14 -0600)
src/mesa/pipe/softpipe/sp_clear.c
src/mesa/pipe/softpipe/sp_flush.c

index 4f04f8243fa213c3661329f9f5a823f955053a23..96bca4b171b86b5ddbc35ce618c150b0515fdef3 100644 (file)
@@ -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?? */
index 5eb4d3367d10333e35ba79b569dc0ee81f924c93..2b077c20210dfafcf15b6f6dd57b169b46601a46 100644 (file)
@@ -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"