Oops, that wasn't right...

This commit is contained in:
Sam Lantinga 2001-07-31 00:26:32 +00:00
parent 9df4088b9a
commit 0166cd5b97

View File

@ -414,7 +414,7 @@ fprintf(stderr, "glXGetProcAddress returned %p and dlsym returned %p for %s\n",
#endif
retval = dlsym(handle, proc);
if (!retval && strlen(proc) <= 1022) {
procname[0] = "_";
procname[0] = '_';
strcpy(procname + 1, proc);
retval = dlsym(handle, procname);
}