mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-11 06:32:10 +08:00
engine: move vid cvars to static allocation
This commit is contained in:
@@ -557,11 +557,11 @@ static void SetFullscreenModeFromCommandLine( void )
|
||||
#if !XASH_MOBILE_PLATFORM
|
||||
if( Sys_CheckParm( "-fullscreen" ))
|
||||
{
|
||||
Cvar_DirectSet( vid_fullscreen, "1" );
|
||||
Cvar_DirectSet( &vid_fullscreen, "1" );
|
||||
}
|
||||
else if( Sys_CheckParm( "-windowed" ))
|
||||
{
|
||||
Cvar_DirectSet( vid_fullscreen, "0" );
|
||||
Cvar_DirectSet( &vid_fullscreen, "0" );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user