X-Git-Url: https://deadsoftware.ru/gitweb?p=nanogl.git;a=blobdiff_plain;f=nanogl.cpp;h=5add36a367bda8220013657d37844bc3bfb0f861;hp=c16a7a0f1f103acee3b39442752cfce2636f3999;hb=37683dff4a5215ba524bc7eccc22206388051374;hpb=36696ece82d8944326abc5e5949be301ae360ef3 diff --git a/nanogl.cpp b/nanogl.cpp index c16a7a0..5add36a 100644 --- a/nanogl.cpp +++ b/nanogl.cpp @@ -70,6 +70,10 @@ static void gl_unimplemented() { LOGE ("Called unimplemented OpenGL ES API\n"); } +void *nanoGL_GetProcAddress(const char *name) +{ + return dlsym(glesLib, name); +} static int CreateGlEsInterface( const char * name, void * lib, void * lib1, void * default_func ) { @@ -92,7 +96,7 @@ static int CreateGlEsInterface( const char * name, void * lib, void * lib1, void { void * f; - f = dlsym(lib, *api); // ltry ibGLESxx_CM.so + f = dlsym(lib, *api); // try libGLESxx_CM.so if (f == NULL) { LOGW( "<%s> not found in %s. Trying libEGL.so.", *api, name); //driver);