diff --git a/src/osg/GLExtensions.cpp b/src/osg/GLExtensions.cpp index 76118d0d6..ed0cd8d61 100644 --- a/src/osg/GLExtensions.cpp +++ b/src/osg/GLExtensions.cpp @@ -399,17 +399,6 @@ OSG_INIT_SINGLETON_PROXY(GLExtensionDisableStringInitializationProxy, osg::getGL #elif defined (__linux__) - typedef void (*__GLXextFuncPtr)(void); - typedef __GLXextFuncPtr (*GetProcAddressARBProc)(const char*); - - #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) - static GetProcAddressARBProc s_glXGetProcAddressARB = convertPointerType(dlsym(0, "glXGetProcAddressARB")); - if (s_glXGetProcAddressARB) - { - return convertPointerType((s_glXGetProcAddressARB)(funcName)); - } - #endif - return dlsym(0, funcName); #elif defined (__QNX__)