mesa: remove powf macro

Use the wrapper in c99_math.h if needed.

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Brian Paul 2015-02-24 09:26:41 -07:00
parent bad154e677
commit f5816d77e2
4 changed files with 3 additions and 2 deletions

View File

@ -102,7 +102,6 @@ typedef union { GLfloat f; GLint i; GLuint u; } fi_type;
#define floorf(f) ((float) floor(f))
#define logf(f) ((float) log(f))
#define powf(x,y) ((float) pow(x,y))
#define sqrtf(f) ((float) sqrt(f))
#endif

View File

@ -24,6 +24,7 @@
*/
#include "c99_math.h"
#include "glheader.h"
#include "imports.h"
#include "context.h"

View File

@ -23,6 +23,7 @@
*/
#include "c99_math.h"
#include "main/glheader.h"
#include "main/colormac.h"
#include "main/feedback.h"

View File

@ -23,7 +23,7 @@
*/
#include "c99_math.h"
#include "main/glheader.h"
#include "main/colormac.h"
#include "main/light.h"