From cf41d7c63aab2289d739c0f9df116caf2cc410e3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 25 Aug 2012 06:43:37 -0600 Subject: mesa: remove COPY_4V_CAST() macro Only used in one place, and not really needed. --- src/mesa/main/clear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/clear.c') diff --git a/src/mesa/main/clear.c b/src/mesa/main/clear.c index 7cc204bc58d..cfb060018c7 100644 --- a/src/mesa/main/clear.c +++ b/src/mesa/main/clear.c @@ -510,7 +510,7 @@ _mesa_ClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) /* save color */ clearSave = ctx->Color.ClearColor; /* set color */ - COPY_4V_CAST(ctx->Color.ClearColor.f, value, GLclampf); + COPY_4V(ctx->Color.ClearColor.f, value); /* clear buffer(s) */ ctx->Driver.Clear(ctx, mask); /* restore color */ -- cgit v1.2.3