summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-05-18 12:05:53 -0700
committerEric Anholt <[email protected]>2012-05-23 10:18:26 -0700
commit7da9795070b1af746ab85692d4b65dbe8c4f2d76 (patch)
treee6d4a79c2ef0b58cec0a64546c76861dab1797b5
parent3e1656567c3d2abb91f8169806d6083e80c0a673 (diff)
i965: Rename the clear function for this driver.
Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Chad Versace <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_clear.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c
index 84ea99036ef..d171b7c1901 100644
--- a/src/mesa/drivers/dri/i965/brw_clear.c
+++ b/src/mesa/drivers/dri/i965/brw_clear.c
@@ -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;
}