Explorar o código

(Android) Removed declaration of log2 as it is available in newer NDK APIs

Martin Felis %!s(int64=7) %!d(string=hai) anos
pai
achega
1462f4cf56
Modificáronse 1 ficheiros con 0 adicións e 9 borrados
  1. 0 9
      src/modules/graphics/Texture.cpp

+ 0 - 9
src/modules/graphics/Texture.cpp

@@ -27,15 +27,6 @@
 #include <cmath>
 #include <algorithm>
 
-#ifdef LOVE_ANDROID
-// log2 is not declared in the math.h shipped with the Android NDK
-static inline double log2(double n)
-{
-	// log(n)/log(2) is log2.
-	return std::log(n) / std::log(2);
-}
-#endif
-
 
 namespace love
 {