summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorZou Nan hai <[email protected]>2009-09-18 13:29:28 +0800
committerZou Nan hai <[email protected]>2009-09-18 13:29:28 +0800
commita66bab0e379c3add034667ed394bcead386d8c10 (patch)
tree82fc883217f0d65d027284d054eb70a9180946f4 /src/mesa/drivers
parentfac38e8c8f1814ae54703b872db8c6dd21c34a3b (diff)
[i965] use intel_batchbuffer_flush to flush the clear
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel/intel_clear.c3
1 files changed, 2 insertions, 1 deletions
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) {