summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-02-24 09:08:50 -0700
committerBrian Paul <brianp@vmware.com>2015-02-24 14:44:19 -0700
commitbd7f7aac56d3703f3d0fd55cd20f86f6c431b030 (patch)
treeb929fea534bf19ae7c2a692e3fcf9a893046a670 /src/mesa/main/imports.h
parent46ce78d4c659fcf9fb2b088424d4d16d13ab5d75 (diff)
downloadexternal_mesa3d-bd7f7aac56d3703f3d0fd55cd20f86f6c431b030.zip
external_mesa3d-bd7f7aac56d3703f3d0fd55cd20f86f6c431b030.tar.gz
external_mesa3d-bd7f7aac56d3703f3d0fd55cd20f86f6c431b030.tar.bz2
mesa: replace FABSF with fabsf
Reviewed-by: Matt Turner <mattst88@gmail.com>
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 9dee565..3384583 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.
*/