[Mesa-dev] [PATCH 7/7] intel: Reuse intel_glFlush().

Eric Anholt eric at anholt.net
Wed Jan 9 12:42:27 PST 2013


---
 src/mesa/drivers/dri/intel/intel_context.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
index d449842..0f026af 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -550,8 +550,7 @@ intelFinish(struct gl_context * ctx)
 {
    struct intel_context *intel = intel_context(ctx);
 
-   intel_flush(ctx);
-   intel_flush_front(ctx);
+   intel_glFlush(ctx);
 
    if (intel->batch.last_bo)
       drm_intel_bo_wait_rendering(intel->batch.last_bo);
-- 
1.7.10.4



More information about the mesa-dev mailing list