From: Eric Anholt Date: Fri, 28 Dec 2012 20:25:14 +0000 (-0800) Subject: intel: Reuse intel_glFlush(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7801a8cc8957fc58e5a493c4da2b4941f5cf9f4a;p=mesa.git intel: Reuse intel_glFlush(). v2 (Kenneth Graunke): Rebase on latest master. Reviewed-by: Kenneth Graunke Reviewed-by: Paul Berry --- 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);