Ooops... previous fix didn't work, corrected.

This commit is contained in:
Don BURNS
2004-05-08 18:41:18 +00:00
parent 3b92e02f29
commit 4ebb2ddd5a

View File

@@ -61,7 +61,12 @@ inline void* getGLExtensionFuncPtr(const char *funcName)
} else
return NULL;
#elif defined (__sun) || defined (__sgi)
#elif defined (__sun)
static void *handle = dlopen((const char *)0L, RTLD_LAZY);
return dlsym(handle, funcName);
#elif defined (__sgi)
static void *handle = dlopen((const char *)0L, RTLD_LAZY);
return dlsym(handle, funcName);