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 a202491101294b8b7eda450221157debc8d44844..60fbeccdc546cc3f42d3429f66dfbb17ae290a0d 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);
    }