diff options
Diffstat (limited to 'src/renderer')
-rw-r--r-- | src/renderer/tr_init.c | 2 | ||||
-rw-r--r-- | src/renderer/tr_local.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/renderer/tr_init.c b/src/renderer/tr_init.c index 6fb7fed3..b08cdbb8 100644 --- a/src/renderer/tr_init.c +++ b/src/renderer/tr_init.c @@ -131,6 +131,7 @@ cvar_t *r_subdivisions; cvar_t *r_lodCurveError; cvar_t *r_fullscreen; +cvar_t *r_noborder; cvar_t *r_width; cvar_t *r_height; @@ -921,6 +922,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 = Cvar_Get("r_noborder", "0", CVAR_ARCHIVE); 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/renderer/tr_local.h b/src/renderer/tr_local.h index 03908826..f0f3cada 100644 --- a/src/renderer/tr_local.h +++ b/src/renderer/tr_local.h @@ -1042,6 +1042,7 @@ extern cvar_t *r_height; extern cvar_t *r_pixelAspect; extern cvar_t *r_fullscreen; +extern cvar_t *r_noborder; extern cvar_t *r_gamma; extern cvar_t *r_displayRefresh; // optional display refresh option extern cvar_t *r_ignorehwgamma; // overrides hardware gamma capabilities |