From 714d3ec9bc3e9085fe7caf522dc001198aaf685c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 27 Jan 2010 17:48:15 -0700 Subject: [PATCH] swrast: s/FIXED_TO_FLOAT/FixedToFloat/ --- src/mesa/swrast/s_alpha.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/swrast/s_alpha.c b/src/mesa/swrast/s_alpha.c index ebac562272f..509477433a5 100644 --- a/src/mesa/swrast/s_alpha.c +++ b/src/mesa/swrast/s_alpha.c @@ -146,8 +146,8 @@ _swrast_alpha_test(const GLcontext *ctx, SWspan *span) ALPHA_TEST(FixedToInt(alpha), alpha += alphaStep); } else { - const GLfloat alphaStep = FIXED_TO_FLOAT(span->alphaStep); - GLfloat alpha = FIXED_TO_FLOAT(span->alpha); + const GLfloat alphaStep = FixedToFloat(span->alphaStep); + GLfloat alpha = FixedToFloat(span->alpha); const GLfloat ref = ctx->Color.AlphaRef; ALPHA_TEST(alpha, alpha += alphaStep); } -- 2.30.2