mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
mesa: remove unused CEILF macro
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
79b480ccc0
commit
b2c13534f7
1 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue