mesa: replace FABSF with fabsf
[mesa.git] / src / mesa / drivers / dri / radeon / radeon_fog.c
index df9557547371b5e8f4971de1342f65e43d792f01..d5c6537036eb03f5df7a1ef19e14d51a411bae8d 100644 (file)
@@ -32,6 +32,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  *   Keith Whitwell <keithw@vmware.com>
  */
 
+#include "c99_math.h"
 #include "main/glheader.h"
 #include "main/imports.h"
 #include "main/context.h"
@@ -97,7 +98,7 @@ radeonComputeFogBlendFactor( struct gl_context *ctx, GLfloat fogcoord )
 {
        GLfloat end  = ctx->Fog.End;
        GLfloat d, temp;
-       const GLfloat z = FABSF(fogcoord);
+       const GLfloat z = fabsf(fogcoord);
 
        switch (ctx->Fog.Mode) {
        case GL_LINEAR: