Skip to content
Permalink
Browse files

patch-ac (from mrg@NetBSD.org):

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 807cef0ba10852f1ece3c15ac6f05beaa7a394f2
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/video/x11/SDL_x11gl.c
@@ -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

0 comments on commit 807cef0

Please sign in to comment.