summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-12-28 12:25:14 -0800
committerEric Anholt <[email protected]>2013-08-30 11:30:44 -0700
commit7801a8cc8957fc58e5a493c4da2b4941f5cf9f4a (patch)
treea8b3754a04bad92dca00f277078fc32b1bc5cf54 /src
parent313f2bc32b86047928b1bae4d4d824e787638008 (diff)
intel: Reuse intel_glFlush().
v2 (Kenneth Graunke): Rebase on latest master. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/intel_context.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c
index 0f1639f0b47..4f969898e05 100644
--- a/src/mesa/drivers/dri/i965/intel_context.c
+++ b/src/mesa/drivers/dri/i965/intel_context.c
@@ -366,8 +366,7 @@ intelFinish(struct gl_context * ctx)
{
struct brw_context *brw = brw_context(ctx);
- intel_batchbuffer_flush(brw);
- intel_flush_front(ctx);
+ intel_glFlush(ctx);
if (brw->batch.last_bo)
drm_intel_bo_wait_rendering(brw->batch.last_bo);