diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-01-25 17:57:53 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-01-25 17:57:53 +0000 |
commit | 8ab0b9c277ed99d93c2d5b76ceeb30078ac85f11 (patch) | |
tree | 553101d21e188e08f115cb8ebd8fb502b3ac4e05 /code/renderer | |
parent | b07085058a2fd07241a9d3035de1442aa2a086ba (diff) | |
download | ioquake3-aero-8ab0b9c277ed99d93c2d5b76ceeb30078ac85f11.tar.gz ioquake3-aero-8ab0b9c277ed99d93c2d5b76ceeb30078ac85f11.zip |
* SDL build no longer requires a vid_restart when changing r_fullscreen
git-svn-id: svn://svn.icculus.org/quake3/trunk@526 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/renderer')
-rw-r--r-- | code/renderer/tr_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/code/renderer/tr_init.c b/code/renderer/tr_init.c index 285ed18..70b969c 100644 --- a/code/renderer/tr_init.c +++ b/code/renderer/tr_init.c @@ -926,7 +926,11 @@ 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_mode = ri.Cvar_Get( "r_mode", "3", CVAR_ARCHIVE | CVAR_LATCH ); +#if USE_SDL_VIDEO + r_fullscreen = ri.Cvar_Get( "r_fullscreen", "1", CVAR_ARCHIVE ); +#else r_fullscreen = ri.Cvar_Get( "r_fullscreen", "1", CVAR_ARCHIVE | CVAR_LATCH ); +#endif r_customwidth = ri.Cvar_Get( "r_customwidth", "1600", CVAR_ARCHIVE | CVAR_LATCH ); r_customheight = ri.Cvar_Get( "r_customheight", "1024", CVAR_ARCHIVE | CVAR_LATCH ); r_customaspect = ri.Cvar_Get( "r_customaspect", "1", CVAR_ARCHIVE | CVAR_LATCH ); |