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:
@@ -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
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "c99_math.h"
|
||||
#include "glheader.h"
|
||||
#include "imports.h"
|
||||
#include "context.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "c99_math.h"
|
||||
#include "main/glheader.h"
|
||||
#include "main/colormac.h"
|
||||
#include "main/feedback.h"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include "c99_math.h"
|
||||
#include "main/glheader.h"
|
||||
#include "main/colormac.h"
|
||||
#include "main/light.h"
|
||||
|
||||
Reference in New Issue
Block a user