aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-24 09:08:50 -0700
committerBrian Paul <[email protected]>2015-02-24 14:44:19 -0700
commitbd7f7aac56d3703f3d0fd55cd20f86f6c431b030 (patch)
treeb929fea534bf19ae7c2a692e3fcf9a893046a670 /src/mesa/main/imports.h
parent46ce78d4c659fcf9fb2b088424d4d16d13ab5d75 (diff)
mesa: replace FABSF with fabsf
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/imports.h')
-rw-r--r--src/mesa/main/imports.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 9dee565aa58..3384583106a 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -203,17 +203,6 @@ static inline GLfloat LOG2(GLfloat x)
#endif
-/***
- *** FABSF: absolute value of float
- ***/
-#if defined(__gnu_linux__)
-/* C99 functions */
-#define FABSF(x) fabsf(x)
-#else
-#define FABSF(x) ((GLfloat) fabs(x))
-#endif
-
-
/**
* Convert float to int by rounding to nearest integer, away from zero.
*/