From: Keith Whitwell Date: Wed, 20 Sep 2006 14:58:55 +0000 (+0000) Subject: Fix some warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5d0f6c17f637e9926813bbc9f4fa241a5f876dc;p=mesa.git Fix some warnings --- diff --git a/src/mesa/drivers/dri/i965/intel_span.c b/src/mesa/drivers/dri/i965/intel_span.c index a2024911012..60fbeccdc54 100644 --- a/src/mesa/drivers/dri/i965/intel_span.c +++ b/src/mesa/drivers/dri/i965/intel_span.c @@ -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); }