\r
#include <limits>\r
\r
+#ifdef ANDROID\r
+#include <cutils/log.h>\r
+#endif\r
+\r
typedef std::pair<GLenum, GLenum> InternalFormatTypePair;\r
typedef std::map<InternalFormatTypePair, GLenum> FormatMap;\r
\r
\r
if(!context)\r
{\r
- ERR("glGetIntegerv() called without current context."); // Not strictly an error, but probably unintended or attempting to rely on non-compliant behavior\r
+ // Not strictly an error, but probably unintended or attempting to rely on non-compliant behavior\r
+ #ifdef __ANDROID__\r
+ ALOGI("expected_badness glGetIntegerv() called without current context.");\r
+ #else\r
+ ERR("glGetIntegerv() called without current context.");\r
+ #endif\r
\r
// This is not spec compliant! When there is no current GL context, functions should\r
// have no side effects. Google Maps queries these values before creating a context,\r