Mesa (master): mesa: remove logf macro

Brian Paul brianp at kemper.freedesktop.org
Tue Feb 24 21:49:46 UTC 2015


Module: Mesa
Branch: master
Commit: cffedcf163f54ec4e2625bba07a63add722c7d55
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cffedcf163f54ec4e2625bba07a63add722c7d55

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Feb 24 09:31:34 2015 -0700

mesa: remove logf macro

Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 src/mesa/main/imports.h    |    1 -
 src/mesa/swrast/s_aaline.c |    1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 1a69fe7..ae89d59 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -100,7 +100,6 @@ typedef union { GLfloat f; GLint i; GLuint u; } fi_type;
 #define ceilf(f) ((float) ceil(f))
 #define expf(f) ((float) exp(f))
 #define floorf(f) ((float) floor(f))
-#define logf(f) ((float) log(f))
 
 #define sqrtf(f) ((float) sqrt(f))
 #endif
diff --git a/src/mesa/swrast/s_aaline.c b/src/mesa/swrast/s_aaline.c
index 0add124..f3258e8 100644
--- a/src/mesa/swrast/s_aaline.c
+++ b/src/mesa/swrast/s_aaline.c
@@ -23,6 +23,7 @@
  */
 
 
+#include "c99_math.h"
 #include "main/glheader.h"
 #include "main/imports.h"
 #include "main/macros.h"




More information about the mesa-commit mailing list