summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_alpha.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-01-27 17:48:15 -0700
committerBrian Paul <brianp@vmware.com>2010-01-27 17:48:34 -0700
commit714d3ec9bc3e9085fe7caf522dc001198aaf685c (patch)
treef0f793692bb2ca7c0ffcf37a6f2356229a1cb334 /src/mesa/swrast/s_alpha.c
parent978568c647844693f602364bd9e1041d1cecea4f (diff)
swrast: s/FIXED_TO_FLOAT/FixedToFloat/
Diffstat (limited to 'src/mesa/swrast/s_alpha.c')
-rw-r--r--src/mesa/swrast/s_alpha.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_alpha.c b/src/mesa/swrast/s_alpha.c
index ebac562272..509477433a 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);
}