From: Zou Nan hai Date: Fri, 18 Sep 2009 05:29:28 +0000 (+0800) Subject: [i965] use intel_batchbuffer_flush to flush the clear X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a66bab0e379c3add034667ed394bcead386d8c10;p=mesa.git [i965] use intel_batchbuffer_flush to flush the clear --- diff --git a/src/mesa/drivers/dri/intel/intel_clear.c b/src/mesa/drivers/dri/intel/intel_clear.c index 9efe6a277c7..736434d7639 100644 --- a/src/mesa/drivers/dri/intel/intel_clear.c +++ b/src/mesa/drivers/dri/intel/intel_clear.c @@ -170,8 +170,9 @@ intelClear(GLcontext *ctx, GLbitfield mask) } DBG("\n"); } - intelFlush(&intel->ctx); + _mesa_meta_clear(&intel->ctx, tri_mask); + intel_batchbuffer_flush(intel->batch); } if (swrast_mask) {