Skip to content

Commit

Permalink
Oops, the OpenBSD fix didn't.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Lantinga committed May 11, 2001
1 parent 63e472b commit 0b973f4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/video/x11/SDL_x11gl.c
Expand Up @@ -343,9 +343,6 @@ int X11_GL_LoadLibrary(_THIS, const char* path)
#endif
handle = dlopen(path, dlopen_flags);
/* 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) ) {
dlclose(handle);
path = getenv("SDL_VIDEO_GL_DRIVER");
Expand Down

0 comments on commit 0b973f4

Please sign in to comment.