mirror of https://github.com/encounter/SDL.git
Fixed bug 5208 - Fix libGL loading on OpenBSD
This commit is contained in:
parent
c2b8530591
commit
ce293eed8d
|
@ -32,11 +32,11 @@
|
||||||
#include "SDL_loadso.h"
|
#include "SDL_loadso.h"
|
||||||
#include "SDL_x11opengles.h"
|
#include "SDL_x11opengles.h"
|
||||||
|
|
||||||
#if defined(__IRIX__) || defined(__NetBSD__)
|
#if defined(__IRIX__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||||
/*
|
/*
|
||||||
* IRIX doesn't have a GL library versioning system.
|
* IRIX doesn't have a GL library versioning system.
|
||||||
* NetBSD has different GL library versions depending on how the library was
|
* NetBSD and OpenBSD have different GL library versions depending on how
|
||||||
* installed (package vs. xsrc).
|
* the library was installed.
|
||||||
*/
|
*/
|
||||||
#define DEFAULT_OPENGL "libGL.so"
|
#define DEFAULT_OPENGL "libGL.so"
|
||||||
#elif defined(__MACOSX__)
|
#elif defined(__MACOSX__)
|
||||||
|
|
Loading…
Reference in New Issue