Commit 6216069a authored by Sam Lantinga's avatar Sam Lantinga

Oops, the OpenBSD fix didn't.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4030
parent 4e0d49d3
...@@ -343,9 +343,6 @@ int X11_GL_LoadLibrary(_THIS, const char* path) ...@@ -343,9 +343,6 @@ int X11_GL_LoadLibrary(_THIS, const char* path)
#endif #endif
handle = dlopen(path, dlopen_flags); handle = dlopen(path, dlopen_flags);
/* Catch the case where the application isn't linked with GL */ /* Catch the case where the application isn't linked with GL */
#if defined __OpenBSD__ && !defined __ELF__
#define dlsym(x,y) dlsym(x, "_" y)
#endif
if ( (dlsym(handle, "glXChooseVisual") == NULL) && (path == NULL) ) { if ( (dlsym(handle, "glXChooseVisual") == NULL) && (path == NULL) ) {
dlclose(handle); dlclose(handle);
path = getenv("SDL_VIDEO_GL_DRIVER"); path = getenv("SDL_VIDEO_GL_DRIVER");
......
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