getGLExtensionFuncPtr: support gl4es wrapper on Android.

This commit is contained in:
Ilya Zhuravlev 2018-01-17 14:07:47 -05:00
parent 8046ef5b6b
commit 92b45581af

View File

@ -339,6 +339,8 @@ OSG_INIT_SINGLETON_PROXY(GLExtensionDisableStringInitializationProxy, osg::getGL
static void *handle = dlopen("libGLESv1_CM.so", RTLD_NOW);
#elif defined(OSG_GLES2_AVAILABLE)
static void *handle = dlopen("libGLESv2.so", RTLD_NOW);
#elif defined(OSG_GL1_AVAILABLE)
static void *handle = dlopen("libGL.so", RTLD_NOW);
#endif
return dlsym(handle, funcName);