Fix some warnings
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 20 Sep 2006 14:58:55 +0000 (14:58 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 20 Sep 2006 14:58:55 +0000 (14:58 +0000)
src/mesa/drivers/dri/i965/intel_span.c

index a202491..60fbecc 100644 (file)
@@ -35,6 +35,7 @@
 #include "intel_span.h"
 #include "intel_ioctl.h"
 #include "intel_tex.h"
+#include "intel_batchbuffer.h"
 #include "swrast/swrast.h"
 
 #undef DBG
@@ -213,7 +214,7 @@ void intelSpanRenderStart( GLcontext *ctx )
       intel_batchbuffer_flush(intel->batch);
       intel->need_flush = 0;
       UNLOCK_HARDWARE(intel);
-      intelFinish(intel);
+      intelFinish(&intel->ctx);
    }