diff --git a/include/osg/GLExtensions b/include/osg/GLExtensions index 8afaf0229..e52289523 100644 --- a/include/osg/GLExtensions +++ b/include/osg/GLExtensions @@ -73,6 +73,10 @@ inline void* getGLExtensionFuncPtr(const char *funcName) static void *handle = dlopen((const char *)0L, RTLD_LAZY); return dlsym(handle, funcName); +#elif defined (__FreeBSD__) + + return dlsym( RTLD_DEFAULT, funcName ); + #else // all other unixes return dlsym(0, funcName);