summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-09-01 12:05:41 -0600
committerBrian Paul <[email protected]>2009-09-01 17:39:30 -0600
commit50d8b295f6c950da3b8783ff6e1803bdfbb5c7cc (patch)
tree39aba0df8cacc143d03463d894bcf89c0eeb50b8 /src
parent06bf6628aabd6744ebf4268319eba4a1d377ffe2 (diff)
intel: use _mesa_meta_clear(), it's a bit faster
Diffstat (limited to 'src')
-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 630d2adab87..117a46f71e5 100644
--- a/src/mesa/drivers/dri/intel/intel_clear.c
+++ b/src/mesa/drivers/dri/intel/intel_clear.c
@@ -46,6 +46,7 @@
#include "main/varray.h"
#include "glapi/dispatch.h"
#include "swrast/swrast.h"
+#include "drivers/common/meta.h"
#include "intel_context.h"
#include "intel_blit.h"
@@ -186,7 +187,7 @@ intelClear(GLcontext *ctx, GLbitfield mask)
}
DBG("\n");
}
- meta_clear_tris(&intel->meta, tri_mask);
+ _mesa_meta_clear(&intel->ctx, tri_mask);
}
if (swrast_mask) {