8879afdc8c
ok oga@, claudio@ (maintainer)
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
$OpenBSD: patch-src_vid_menu_c,v 1.1 2008/05/25 02:54:58 jsg Exp $
|
|
--- src/vid_menu.c.orig Sat May 24 21:12:38 2008
|
|
+++ src/vid_menu.c Sat May 24 21:13:15 2008
|
|
@@ -164,21 +164,21 @@ static void ApplyChanges( void *unused )
|
|
case REF_GLX:
|
|
Cvar_Set( "vid_ref", "glx" );
|
|
/* below is wrong if we use different libs for different GL reflibs */
|
|
- Cvar_Set( "gl_driver", "libGL.so.1" );
|
|
+ Cvar_Set( "gl_driver", "libGL.so" );
|
|
if (gl_driver->modified)
|
|
vid_ref->modified = true;
|
|
break;
|
|
case REF_SDLGL:
|
|
Cvar_Set( "vid_ref", "sdlgl" );
|
|
/* below is wrong if we use different libs for different GL reflibs */
|
|
- Cvar_Set( "gl_driver", "libGL.so.1" );
|
|
+ Cvar_Set( "gl_driver", "libGL.so" );
|
|
if (gl_driver->modified)
|
|
vid_ref->modified = true;
|
|
break;
|
|
case REF_FXGL:
|
|
Cvar_Set("vid_ref", "tdfx");
|
|
/* below is wrong if we use different libs for different GL reflibs */
|
|
- Cvar_Set( "gl_driver", "libGL.so.1" );
|
|
+ Cvar_Set( "gl_driver", "libGL.so" );
|
|
if (gl_driver->modified)
|
|
vid_ref->modified = true;
|
|
break;
|
|
@@ -260,7 +260,7 @@ void VID_MenuInit( void )
|
|
int i;
|
|
|
|
if ( !gl_driver )
|
|
- gl_driver = Cvar_Get( "gl_driver", "libGL.so.1", 0 );
|
|
+ gl_driver = Cvar_Get( "gl_driver", "libGL.so", 0 );
|
|
if ( !gl_picmip )
|
|
gl_picmip = Cvar_Get( "gl_picmip", "0", 0 );
|
|
if ( !gl_mode )
|