DEADSOFTWARE

Fix hard-float build
[nanogl.git] / nanogl.cpp
index 5add36a367bda8220013657d37844bc3bfb0f861..9130cecc1edfdca1da94048b5c359efc85ab7f9f 100644 (file)
@@ -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);
 }