diff --git a/nanogl.cpp b/nanogl.cpp
index 9130cecc1edfdca1da94048b5c359efc85ab7f9f..11bd1eac4faf162e8d1bd5e9063deaee398499f1 100644 (file)
--- a/nanogl.cpp
+++ b/nanogl.cpp
extern void InitGLStructs();
-static void gl_unimplemented() {
+void gl_unimplemented() {
LOGE ("Called unimplemented OpenGL ES API\n");
}
@@ -127,8 +127,11 @@ static int CreateGlEsInterface( const char * name, void * lib, void * lib1, void
LOGD ("<%s> @ 0x%p\n", *api, f);
}
}
- else
+ else
+ {
+ LOGE ( "libEGL.so not loaded!");
f = default_func;
+ }
}
else {
LOGD ("<%s> @ 0x%p\n", *api, f);