summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple/i915_flush.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-25 16:16:07 -0700
committerBrian <[email protected]>2008-02-25 16:16:07 -0700
commitb53110c78941e7fcaa41921cce07ca00ec117a97 (patch)
treeb39265ec0c28c5d9f4d8f9d414a1052cb3fa0dcd /src/gallium/drivers/i915simple/i915_flush.c
parentcc0cf1154b6288d49d7a9dfd18fb666331dd7334 (diff)
gallium/i915: call draw_flush() in i915_flush()
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_flush.c')
-rw-r--r--src/gallium/drivers/i915simple/i915_flush.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915simple/i915_flush.c b/src/gallium/drivers/i915simple/i915_flush.c
index 3c2069b8273..96a54281f11 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?
*/