Skip to content
Permalink
Browse files

Oops, the OpenBSD fix didn't.

  • Loading branch information
Sam Lantinga committed May 11, 2001
1 parent 63e472b commit 0b973f446d160b1b29811be5e40460ca4d04bab2
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/video/x11/SDL_x11gl.c
@@ -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");

0 comments on commit 0b973f4

Please sign in to comment.