From 7801a8cc8957fc58e5a493c4da2b4941f5cf9f4a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 28 Dec 2012 12:25:14 -0800 Subject: [PATCH] intel: Reuse intel_glFlush(). v2 (Kenneth Graunke): Rebase on latest master. Reviewed-by: Kenneth Graunke Reviewed-by: Paul Berry --- src/mesa/drivers/dri/i965/intel_context.c | 3 +-- 1 file changed, 1 insertion(+), 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); -- 2.30.2