From 83333305cdd8da38b4a061b3c9317d8e3b1d38d1 Mon Sep 17 00:00:00 2001 From: jdolan Date: Sat, 29 Jun 2013 10:17:08 -0400 Subject: [PATCH] Remove support for --libgl and Q3R_LIBGL. We should instead rely on GDK_GL_LIBGL_PATH, as GtkGlExt does and we must agree with it. --- radiant/main.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/radiant/main.cpp b/radiant/main.cpp index d41b77e1..96eb5f12 100644 --- a/radiant/main.cpp +++ b/radiant/main.cpp @@ -499,10 +499,6 @@ int main( int argc, char* argv[] ) { // TODO: Find a better place to call this. gtk_glwidget_create_font(); - if ( ( ptr = getenv( "Q3R_LIBGL" ) ) != NULL ) { - libgl = ptr; - } - for ( i = 1; i < argc; i++ ) { char* param = argv[i]; @@ -510,12 +506,7 @@ int main( int argc, char* argv[] ) { if ( param[0] == '-' && param[1] == '-' ) { param += 2; - if ( ( strcmp( param, "libgl" ) == 0 ) && ( i != argc ) ) { - libgl = argv[i + 1]; - argv[i] = argv[i + 1] = NULL; - i++; - } - else if ( strcmp( param, "builddefs" ) == 0 ) { + if ( strcmp( param, "builddefs" ) == 0 ) { g_bBuildList = true; argv[i] = NULL; }