swrast: s/FIXED_TO_FLOAT/FixedToFloat/
authorBrian Paul <brianp@vmware.com>
Thu, 28 Jan 2010 00:48:15 +0000 (17:48 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 28 Jan 2010 00:48:34 +0000 (17:48 -0700)
src/mesa/swrast/s_alpha.c

index ebac562272fcc53d10a8a4ae7adfc074b98c33f1..509477433a535f7a147558fe057e9e1274d59cd0 100644 (file)
@@ -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);
       }