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."
This commit is contained in:
Robert Osfield 2008-08-04 17:08:28 +00:00
parent 77227e6c55
commit fe207a09c1

View File

@ -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
{