Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11gl.c @ 4343:d380e7a6265b SDL-1.2
patch-ac (from mrg@NetBSD.org):
Look for libGL.so, not any particular libGL.so.<X>, on NetBSD.
(the comment inline explains why)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 16 Oct 2009 05:06:17 +0000 |
parents | f2f8525e60c2 |
children | 5fe9b267cf55 |
comparison
equal
deleted
inserted
replaced
4342:f2800721813d | 4343:d380e7a6265b |
---|---|
33 #define DEFAULT_OPENGL "/usr/X11R6/lib/libGL.1.dylib" | 33 #define DEFAULT_OPENGL "/usr/X11R6/lib/libGL.1.dylib" |
34 #elif defined(__QNXNTO__) | 34 #elif defined(__QNXNTO__) |
35 #define DEFAULT_OPENGL "libGL.so.3" | 35 #define DEFAULT_OPENGL "libGL.so.3" |
36 #elif defined(__OpenBSD__) | 36 #elif defined(__OpenBSD__) |
37 #define DEFAULT_OPENGL "libGL.so.4.0" | 37 #define DEFAULT_OPENGL "libGL.so.4.0" |
38 #elif defined(__NetBSD__) | |
39 /* pkgsrc is .1, base system is .2 */ | |
40 #define DEFAULT_OPENGL "libGL.so" | |
38 #else | 41 #else |
39 #define DEFAULT_OPENGL "libGL.so.1" | 42 #define DEFAULT_OPENGL "libGL.so.1" |
40 #endif | 43 #endif |
41 | 44 |
42 #ifndef GLX_ARB_multisample | 45 #ifndef GLX_ARB_multisample |