projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
978568c
)
swrast: s/FIXED_TO_FLOAT/FixedToFloat/
author
Brian Paul
<brianp@vmware.com>
Thu, 28 Jan 2010 00:48:15 +0000
(17:48 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 28 Jan 2010 00:48:34 +0000
(17:48 -0700)
src/mesa/swrast/s_alpha.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_alpha.c
b/src/mesa/swrast/s_alpha.c
index ebac562272fcc53d10a8a4ae7adfc074b98c33f1..509477433a535f7a147558fe057e9e1274d59cd0 100644
(file)
--- 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 = F
IXED_TO_FLOAT
(span->alphaStep);
- GLfloat alpha = F
IXED_TO_FLOAT
(span->alpha);
+ const GLfloat alphaStep = F
ixedToFloat
(span->alphaStep);
+ GLfloat alpha = F
ixedToFloat
(span->alpha);
const GLfloat ref = ctx->Color.AlphaRef;
ALPHA_TEST(alpha, alpha += alphaStep);
}