summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIR4T4 <gutzu@gmx.ch>2013-11-10 17:15:06 +0100
committerTim Angus <tim@ngus.net>2014-06-17 17:43:37 +0100
commitc9670358f23a037e74a3f9c5d3951f2310fea138 (patch)
treea8cc6ac42e92afb8a80e9c24726be48c240300a7 /src
parente0b2c4cc86f1e1a19498d8bc899729e5d178cff8 (diff)
r_noborder changes require a restart
Diffstat (limited to 'src')
-rw-r--r--src/renderergl1/tr_init.c2
-rw-r--r--src/renderergl2/tr_init.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/renderergl1/tr_init.c b/src/renderergl1/tr_init.c
index 80b645ab..8d8b1f5e 100644
--- a/src/renderergl1/tr_init.c
+++ b/src/renderergl1/tr_init.c
@@ -957,7 +957,7 @@ void R_Register( void )
r_overBrightBits = ri.Cvar_Get ("r_overBrightBits", "1", CVAR_ARCHIVE | CVAR_LATCH );
r_ignorehwgamma = ri.Cvar_Get( "r_ignorehwgamma", "0", CVAR_ARCHIVE | CVAR_LATCH);
r_fullscreen = ri.Cvar_Get( "r_fullscreen", "1", CVAR_ARCHIVE );
- r_noborder = ri.Cvar_Get("r_noborder", "0", CVAR_ARCHIVE);
+ r_noborder = ri.Cvar_Get("r_noborder", "0", CVAR_ARCHIVE | CVAR_LATCH);
r_width = ri.Cvar_Get( "r_width", "640", CVAR_ARCHIVE | CVAR_LATCH );
r_height = ri.Cvar_Get( "r_height", "480", CVAR_ARCHIVE | CVAR_LATCH );
r_pixelAspect = ri.Cvar_Get( "r_pixelAspect", "1", CVAR_ARCHIVE | CVAR_LATCH );
diff --git a/src/renderergl2/tr_init.c b/src/renderergl2/tr_init.c
index 4be20a97..eb3e0f27 100644
--- a/src/renderergl2/tr_init.c
+++ b/src/renderergl2/tr_init.c
@@ -1076,7 +1076,7 @@ void R_Register( void )
r_ignorehwgamma = ri.Cvar_Get( "r_ignorehwgamma", "0", CVAR_ARCHIVE | CVAR_LATCH);
r_mode = ri.Cvar_Get( "r_mode", "-2", CVAR_ARCHIVE | CVAR_LATCH );
r_fullscreen = ri.Cvar_Get( "r_fullscreen", "1", CVAR_ARCHIVE );
- r_noborder = ri.Cvar_Get("r_noborder", "0", CVAR_ARCHIVE);
+ r_noborder = ri.Cvar_Get("r_noborder", "0", CVAR_ARCHIVE | CVAR_LATCH);
r_width = ri.Cvar_Get( "r_width", "640", CVAR_ARCHIVE | CVAR_LATCH );
r_height = ri.Cvar_Get( "r_height", "480", CVAR_ARCHIVE | CVAR_LATCH );
r_pixelAspect = ri.Cvar_Get( "r_pixelAspect", "1", CVAR_ARCHIVE | CVAR_LATCH );