[Mesa-dev] [PATCH 03/12] mesa: remove unused CEILF macro
Brian Paul
brianp at vmware.com
Tue Feb 24 08:57:27 PST 2015
---
src/mesa/main/imports.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index b7bb6e2..bcbcd0f 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -204,17 +204,14 @@ static inline GLfloat LOG2(GLfloat x)
/***
- *** CEILF: ceiling of float
*** FLOORF: floor of float
*** FABSF: absolute value of float
***/
#if defined(__gnu_linux__)
/* C99 functions */
-#define CEILF(x) ceilf(x)
#define FLOORF(x) floorf(x)
#define FABSF(x) fabsf(x)
#else
-#define CEILF(x) ((GLfloat) ceil(x))
#define FLOORF(x) ((GLfloat) floor(x))
#define FABSF(x) ((GLfloat) fabs(x))
#endif
--
1.9.1
More information about the mesa-dev
mailing list