mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-09 11:30:51 +00:00
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.
This commit is contained in:
parent
33eff58869
commit
83333305cd
1 changed files with 1 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue