mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-29 06:20:37 +02:00
swrast: s/FIXED_TO_FLOAT/FixedToFloat/
This commit is contained in:
parent
978568c647
commit
714d3ec9bc
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue