From fe207a09c14ad1df6872bcf248d39ccfc5b33f6a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 4 Aug 2008 17:08:28 +0000 Subject: [PATCH] From Sherman Wilcox, "Minor change to bool setGLExtensionFuncPtr(T& t, const char* str1) and setGLExtensionFuncPtr(T& t, const char* str1, const char* str2) - functions returned false even on success." --- include/osg/GLExtensions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {