intel: use _mesa_meta_clear(), it's a bit faster
authorBrian Paul <brianp@vmware.com>
Tue, 1 Sep 2009 18:05:41 +0000 (12:05 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 1 Sep 2009 23:39:30 +0000 (17:39 -0600)
src/mesa/drivers/dri/intel/intel_clear.c

index 630d2adab874708a2efbcac865fb84457c30dca5..117a46f71e57c27d78897d0537ce073cf4b94575 100644 (file)
@@ -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) {