diff options
author | Zou Nan hai <[email protected]> | 2009-09-18 13:29:28 +0800 |
---|---|---|
committer | Zou Nan hai <[email protected]> | 2009-09-18 13:29:28 +0800 |
commit | a66bab0e379c3add034667ed394bcead386d8c10 (patch) | |
tree | 82fc883217f0d65d027284d054eb70a9180946f4 /src/mesa/drivers | |
parent | fac38e8c8f1814ae54703b872db8c6dd21c34a3b (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.c | 3 |
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) { |