From 5decf64b48f2e008a2f4ef40053452514cdf4218 Mon Sep 17 00:00:00 2001 From: Timothee Besset Date: Fri, 29 Mar 2013 16:00:54 -0500 Subject: [PATCH] looking for the right GL library? --- radiant/main.cpp | 4 +++- radiant/qgl.c | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/radiant/main.cpp b/radiant/main.cpp index 19297d7f..7bd8c63f 100644 --- a/radiant/main.cpp +++ b/radiant/main.cpp @@ -502,7 +502,9 @@ int main( int argc, char* argv[] ) { #endif #ifdef __APPLE__ - libgl = "/usr/X11R6/lib/libGL.1.dylib"; + // libgl = "/usr/X11R6/lib/libGL.dylib"; + // libgl = "/usr/X11/lib/libGL.dylib"; + libgl = "/opt/local/lib/libGL.dylib"; #endif #if defined ( __linux__ ) || defined ( __APPLE__ ) diff --git a/radiant/qgl.c b/radiant/qgl.c index 36acee74..ce4e5fb4 100644 --- a/radiant/qgl.c +++ b/radiant/qgl.c @@ -1681,7 +1681,6 @@ int QGL_Init( const char *dllname, const char* gluname ){ qglXWaitGL = safe_dlsym( g_hGLDLL, "glXWaitGL" ); qglXWaitX = safe_dlsym( g_hGLDLL, "glXWaitX" ); qglXUseXFont = safe_dlsym( g_hGLDLL, "glXUseXFont" ); -// qglXGetProcAddressARB = dlsym (g_hGLDLL, "glXGetProcAddressARB"); // Utah-GLX fix #endif qglPointParameterfEXT = 0; @@ -1690,7 +1689,6 @@ int QGL_Init( const char *dllname, const char* gluname ){ qglSelectTextureSGIS = 0; qglMTexCoord2fSGIS = 0; - // texture compression Sys_Printf( "Done.\n" ); #ifdef ATIHACK_812