i965: Trivial formatting changes in brw_draw.c
[mesa.git] / src / mesa / drivers / dri / radeon / radeon_fog.c
index 8b69570a44f9b0d7dbd228561ef7a69ad5bd081f..d5c6537036eb03f5df7a1ef19e14d51a411bae8d 100644 (file)
@@ -1,7 +1,7 @@
 /**************************************************************************
 
 Copyright 2000, 2001 ATI Technologies Inc., Ontario, Canada, and
-                     Tungsten Graphics Inc., Austin, Texas.
+                     VMware, Inc.
 
 All Rights Reserved.
 
@@ -29,9 +29,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 /*
  * Authors:
- *   Keith Whitwell <keith@tungstengraphics.com>
+ *   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: