Mesa (master): swrast: s/FIXED_TO_FLOAT/FixedToFloat/
Brian Paul
brianp at kemper.freedesktop.org
Thu Jan 28 00:48:49 UTC 2010
Module: Mesa
Branch: master
Commit: 714d3ec9bc3e9085fe7caf522dc001198aaf685c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=714d3ec9bc3e9085fe7caf522dc001198aaf685c
Author: Brian Paul <brianp at vmware.com>
Date: Wed Jan 27 17:48:15 2010 -0700
swrast: s/FIXED_TO_FLOAT/FixedToFloat/
---
src/mesa/swrast/s_alpha.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/swrast/s_alpha.c b/src/mesa/swrast/s_alpha.c
index ebac562..5094774 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);
}
More information about the mesa-commit
mailing list