Commit 5554c9e5 authored by Sam Lantinga's avatar Sam Lantinga

Oops, that wasn't right...

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40128
parent 6a0f52a7
...@@ -414,7 +414,7 @@ fprintf(stderr, "glXGetProcAddress returned %p and dlsym returned %p for %s\n", ...@@ -414,7 +414,7 @@ fprintf(stderr, "glXGetProcAddress returned %p and dlsym returned %p for %s\n",
#endif #endif
retval = dlsym(handle, proc); retval = dlsym(handle, proc);
if (!retval && strlen(proc) <= 1022) { if (!retval && strlen(proc) <= 1022) {
procname[0] = "_"; procname[0] = '_';
strcpy(procname + 1, proc); strcpy(procname + 1, proc);
retval = dlsym(handle, procname); retval = dlsym(handle, procname);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment