X-Git-Url: http://deadsoftware.ru/gitweb?p=nanogl.git;a=blobdiff_plain;f=nanogl.cpp;h=9130cecc1edfdca1da94048b5c359efc85ab7f9f;hp=5add36a367bda8220013657d37844bc3bfb0f861;hb=52e0d927c7853d6d5c0a5828d954e1e7754c78ed;hpb=37683dff4a5215ba524bc7eccc22206388051374 diff --git a/nanogl.cpp b/nanogl.cpp index 5add36a..9130cec 100644 --- a/nanogl.cpp +++ b/nanogl.cpp @@ -72,6 +72,20 @@ static void gl_unimplemented() { void *nanoGL_GetProcAddress(const char *name) { +#if defined(__MULTITEXTURE_SUPPORT__) + if (!strcmp(procname, "glMultiTexCoord2fARB")) + { + return (void*)&glMultiTexCoord2fARB; + } + else if (!strcmp(procname, "glActiveTextureARB")) + { + return (void*)&glActiveTexture; + } + else if (!strcmp(procname, "glClientActiveTextureARB")) + { + return (void*)&glClientActiveTexture; + } +#endif return dlsym(glesLib, name); }