From ce293eed8d7f731117cdc34d4cd26f10cf217f03 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 23 Jun 2020 10:12:24 -0700 Subject: [PATCH] Fixed bug 5208 - Fix libGL loading on OpenBSD --- src/video/x11/SDL_x11opengl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/video/x11/SDL_x11opengl.c b/src/video/x11/SDL_x11opengl.c index cf7993bf7..c65db63d1 100644 --- a/src/video/x11/SDL_x11opengl.c +++ b/src/video/x11/SDL_x11opengl.c @@ -32,11 +32,11 @@ #include "SDL_loadso.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. - * NetBSD has different GL library versions depending on how the library was - * installed (package vs. xsrc). + * NetBSD and OpenBSD have different GL library versions depending on how + * the library was installed. */ #define DEFAULT_OPENGL "libGL.so" #elif defined(__MACOSX__)