projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79b480c
)
mesa: remove unused CEILF macro
author
Brian Paul
<brianp@vmware.com>
Tue, 24 Feb 2015 16:03:25 +0000
(09:03 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 24 Feb 2015 21:44:19 +0000
(14:44 -0700)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/imports.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/imports.h
b/src/mesa/main/imports.h
index b7bb6e271ba662164b7c11acd2631c6bd300ae2a..bcbcd0f3e27bf2aaf015c6295d71edc427bd1f4b 100644
(file)
--- 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