From: Brian Date: Mon, 25 Feb 2008 23:16:07 +0000 (-0700) Subject: gallium/i915: call draw_flush() in i915_flush() X-Git-Tag: 062012170305~17580^2~390^2~2487 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b53110c78941e7fcaa41921cce07ca00ec117a97;p=profile%2Fivi%2Fmesa.git gallium/i915: call draw_flush() in i915_flush() --- diff --git a/src/gallium/drivers/i915simple/i915_flush.c b/src/gallium/drivers/i915simple/i915_flush.c index 3c2069b..96a5428 100644 --- a/src/gallium/drivers/i915simple/i915_flush.c +++ b/src/gallium/drivers/i915simple/i915_flush.c @@ -31,6 +31,7 @@ #include "pipe/p_defines.h" +#include "draw/draw_context.h" #include "i915_context.h" #include "i915_reg.h" #include "i915_batch.h" @@ -44,6 +45,8 @@ static void i915_flush( struct pipe_context *pipe, { struct i915_context *i915 = i915_context(pipe); + draw_flush(i915->draw); + /* Do we need to emit an MI_FLUSH command to flush the hardware * caches? */