gallium/i915: call draw_flush() in i915_flush()
authorBrian <brian@i915.localnet.net>
Mon, 25 Feb 2008 23:16:07 +0000 (16:16 -0700)
committerBrian <brian@i915.localnet.net>
Mon, 25 Feb 2008 23:16:07 +0000 (16:16 -0700)
src/gallium/drivers/i915simple/i915_flush.c

index 3c2069b8273f96b0e35cf442683d5d57ae600f15..96a54281f11f871f959318f118257b9e437f857c 100644 (file)
@@ -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?
     */