i965: Rename the clear function for this driver.
authorEric Anholt <eric@anholt.net>
Fri, 18 May 2012 19:05:53 +0000 (12:05 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 23 May 2012 17:18:26 +0000 (10:18 -0700)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_clear.c

index 84ea99036efabf4f182a3cf3c5479f66d2d08ada..d171b7c1901c91437032063d72f1c7ec99948ce8 100644 (file)
@@ -78,7 +78,7 @@ debug_mask(const char *name, GLbitfield mask)
  * Called by ctx->Driver.Clear.
  */
 static void
-intelClear(struct gl_context *ctx, GLbitfield mask)
+brw_clear(struct gl_context *ctx, GLbitfield mask)
 {
    struct intel_context *intel = intel_context(ctx);
 
@@ -110,5 +110,5 @@ intelClear(struct gl_context *ctx, GLbitfield mask)
 void
 intelInitClearFuncs(struct dd_function_table *functions)
 {
-   functions->Clear = intelClear;
+   functions->Clear = brw_clear;
 }