intel: Reuse intel_glFlush().
authorEric Anholt <eric@anholt.net>
Fri, 28 Dec 2012 20:25:14 +0000 (12:25 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 30 Aug 2013 18:30:44 +0000 (11:30 -0700)
v2 (Kenneth Graunke): Rebase on latest master.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/intel_context.c

index 0f1639f0b474e2a1096148089c197e5a43a61a77..4f969898e05486b8fefe16732e897de49c8bd8bf 100644 (file)
@@ -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);