From 3516f9b60220f1758727556ab5997312b54170c0 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 26 Feb 2004 20:49:45 +0000 Subject: [PATCH] IRIX doesn't have a GL library versioning system --- src/video/x11/SDL_x11gl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/video/x11/SDL_x11gl.c b/src/video/x11/SDL_x11gl.c index cb5dde89f..c0349af36 100644 --- a/src/video/x11/SDL_x11gl.c +++ b/src/video/x11/SDL_x11gl.c @@ -34,7 +34,12 @@ static char rcsid = #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