fix softpipe_clear() to handle ps->offset!=0 (such as when rendering to texture and...
[mesa.git] / src / mesa / pipe / softpipe / sp_flush.c
index aa609469a62445f2378649ab690aa52b41450132..cdf4a53c837aa66a94257ac7826a3ddfe23e78e2 100644 (file)
@@ -33,6 +33,7 @@
 #include "pipe/p_defines.h"
 #include "sp_flush.h"
 #include "sp_context.h"
+#include "sp_winsys.h"
 
 /* There will be actual work to do here.  In future we may want a
  * fence-like interface instead of finish, and perhaps flush will take
@@ -48,10 +49,3 @@ softpipe_flush( struct pipe_context *pipe,
     */
 }
 
-void
-softpipe_finish(struct pipe_context *pipe)
-{
-   /* Just calls into flush()
-    */
-   softpipe_flush( pipe, 0 );
-}