Skip to content

Commit

Permalink
patch-ac (from mrg@NetBSD.org):
Browse files Browse the repository at this point in the history
Look for libGL.so, not any particular libGL.so.<X>, on NetBSD.
(the comment inline explains why)
  • Loading branch information
slouken committed Oct 16, 2009
1 parent dc820ad commit 807cef0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/video/x11/SDL_x11gl.c
Expand Up @@ -35,6 +35,9 @@
#define DEFAULT_OPENGL "libGL.so.3"
#elif defined(__OpenBSD__)
#define DEFAULT_OPENGL "libGL.so.4.0"
#elif defined(__NetBSD__)
/* pkgsrc is .1, base system is .2 */
#define DEFAULT_OPENGL "libGL.so"
#else
#define DEFAULT_OPENGL "libGL.so.1"
#endif
Expand Down

0 comments on commit 807cef0

Please sign in to comment.