fix OpenGL support, due to stupid hardcoding of the library name.

proper fix will hopefully happen soon
This commit is contained in:
pvalchev 2004-09-15 01:21:44 +00:00
parent 902c97dc6c
commit 5e42f19d55

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-src_video_x11_SDL_x11gl_c,v 1.6 2003/09/29 05:41:37 pvalchev Exp $
$OpenBSD: patch-src_video_x11_SDL_x11gl_c,v 1.7 2004/09/15 01:21:44 pvalchev Exp $
--- src/video/x11/SDL_x11gl.c.orig 2003-08-30 21:13:12.000000000 +0200
+++ src/video/x11/SDL_x11gl.c 2003-09-21 14:43:28.000000000 +0200
@@ -34,7 +34,7 @@ static char rcsid =
@ -6,7 +6,7 @@ $OpenBSD: patch-src_video_x11_SDL_x11gl_c,v 1.6 2003/09/29 05:41:37 pvalchev Exp
#include "SDL_x11gl_c.h"
-#define DEFAULT_OPENGL "libGL.so.1"
+#define DEFAULT_OPENGL "libGL.so.2.0"
+#define DEFAULT_OPENGL "libGL.so.3.0"
#ifndef GLX_ARB_multisample
#define GLX_ARB_multisample