diff --git a/include/osg/GLExtensions b/include/osg/GLExtensions index d5c546650..48024f384 100644 --- a/include/osg/GLExtensions +++ b/include/osg/GLExtensions @@ -80,7 +80,7 @@ bool setGLExtensionFuncPtr(T& t, const char* str1) if (data) { memcpy(&t, &data, sizeof(T)); - return false; + return true; } else { @@ -96,7 +96,7 @@ bool setGLExtensionFuncPtr(T& t, const char* str1, const char* str2) if (data) { memcpy(&t, &data, sizeof(T)); - return false; + return true; } else {