Add latch to r_centerWindow and r_allowResize
This commit is contained in:
1 parent
ca23b626a0
commit
7c0491d7fd
1 file changed
+2
-2
@@ -689,8 +689,8 @@ void GLimp_Init( void )
|
|||||||
{
|
{
|
||||||
r_allowSoftwareGL = ri.Cvar_Get( "r_allowSoftwareGL", "0", CVAR_LATCH );
|
r_allowSoftwareGL = ri.Cvar_Get( "r_allowSoftwareGL", "0", CVAR_LATCH );
|
||||||
r_sdlDriver = ri.Cvar_Get( "r_sdlDriver", "", CVAR_ROM );
|
r_sdlDriver = ri.Cvar_Get( "r_sdlDriver", "", CVAR_ROM );
|
||||||
r_allowResize = ri.Cvar_Get( "r_allowResize", "0", CVAR_ARCHIVE );
|
r_allowResize = ri.Cvar_Get( "r_allowResize", "0", CVAR_ARCHIVE | CVAR_LATCH );
|
||||||
r_centerWindow = ri.Cvar_Get( "r_centerWindow", "0", CVAR_ARCHIVE );
|
r_centerWindow = ri.Cvar_Get( "r_centerWindow", "0", CVAR_ARCHIVE | CVAR_LATCH );
|
||||||
|
|
||||||
if( ri.Cvar_VariableIntegerValue( "com_abnormalExit" ) )
|
if( ri.Cvar_VariableIntegerValue( "com_abnormalExit" ) )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user