changeset 862:f7a8b0ca2ae3

IRIX doesn't have a GL library versioning system
author Sam Lantinga <slouken@libsdl.org>
date Thu, 26 Feb 2004 20:49:45 +0000
parents 863da1c38c7e
children a4853bc3b4f8
files src/video/x11/SDL_x11gl.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/x11/SDL_x11gl.c	Thu Feb 26 19:57:37 2004 +0000
+++ b/src/video/x11/SDL_x11gl.c	Thu Feb 26 20:49:45 2004 +0000
@@ -34,7 +34,12 @@
 #include "SDL_x11dga_c.h"
 #include "SDL_x11gl_c.h"
 
+#if defined(sgi)
+/* IRIX doesn't have a GL library versioning system */
+#define DEFAULT_OPENGL	"libGL.so"
+#else
 #define DEFAULT_OPENGL	"libGL.so.1"
+#endif
 
 #ifndef GLX_ARB_multisample
 #define GLX_ARB_multisample