diff options
author | Tim Angus <tim@ngus.net> | 2015-06-08 23:08:29 +0100 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2015-06-08 23:08:29 +0100 |
commit | b8b66865c8ff4c756fe3544decb5504dbc2abdf7 (patch) | |
tree | 457bf7a5042c7e3a35d0df9a62c5e3a0e2702bb8 /src/renderergl1/tr_init.c | |
parent | d08a64c55393521f3b4c600115ea99ebaab3db40 (diff) | |
parent | d487b1a69f8961b9d4f8658c2e2ae3c272acd2cb (diff) |
Merge pull request #10 from jkent/master
fix initialization based on r_width and r_height
Diffstat (limited to 'src/renderergl1/tr_init.c')
-rw-r--r-- | src/renderergl1/tr_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderergl1/tr_init.c b/src/renderergl1/tr_init.c index fbaa1c37..0a9d75b9 100644 --- a/src/renderergl1/tr_init.c +++ b/src/renderergl1/tr_init.c @@ -960,8 +960,8 @@ void R_Register( void ) 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 | 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_width = ri.Cvar_Get( "r_width", "0", CVAR_ARCHIVE | CVAR_LATCH ); + r_height = ri.Cvar_Get( "r_height", "0", CVAR_ARCHIVE | CVAR_LATCH ); r_pixelAspect = ri.Cvar_Get( "r_pixelAspect", "1", CVAR_ARCHIVE | CVAR_LATCH ); r_simpleMipMaps = ri.Cvar_Get( "r_simpleMipMaps", "1", CVAR_ARCHIVE | CVAR_LATCH ); r_vertexLight = ri.Cvar_Get( "r_vertexLight", "0", CVAR_ARCHIVE | CVAR_LATCH ); |