summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_context.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_context.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/pipe/i915simple/i915_context.c b/src/mesa/pipe/i915simple/i915_context.c
index f39c282981..02b51bea43 100644
--- a/src/mesa/pipe/i915simple/i915_context.c
+++ b/src/mesa/pipe/i915simple/i915_context.c
@@ -170,6 +170,13 @@ struct pipe_context *i915_create( struct i915_winsys *winsys )
i915_init_region_functions(i915);
i915_init_surface_functions(i915);
i915_init_state_functions(i915);
+ i915_init_flush_functions(i915);
+
+
+ /* Batch stream debugging is a bit hacked up at the moment:
+ */
+ i915->batch_start = winsys->batch_start( winsys, 0, 0 );
+
/*
* XXX we could plug GL selection/feedback into the drawing pipeline