From 1462f4cf569de41a34201e91d16aca2aedb87da0 Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Sat, 31 Mar 2018 22:46:12 +0200 Subject: [PATCH] (Android) Removed declaration of log2 as it is available in newer NDK APIs --- src/modules/graphics/Texture.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/modules/graphics/Texture.cpp b/src/modules/graphics/Texture.cpp index 704695510..59bc50319 100644 --- a/src/modules/graphics/Texture.cpp +++ b/src/modules/graphics/Texture.cpp @@ -27,15 +27,6 @@ #include #include -#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 {