aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer/tr_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/renderer/tr_init.c')
-rw-r--r--code/renderer/tr_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/renderer/tr_init.c b/code/renderer/tr_init.c
index c27afec..57c4a24 100644
--- a/code/renderer/tr_init.c
+++ b/code/renderer/tr_init.c
@@ -143,6 +143,8 @@ cvar_t *r_debugSort;
cvar_t *r_printShaders;
cvar_t *r_saveFontData;
+cvar_t *r_GLlibCoolDownMsec;
+
cvar_t *r_maxpolys;
int max_polys;
cvar_t *r_maxpolyverts;
@@ -988,6 +990,8 @@ void R_Register( void )
r_maxpolys = ri.Cvar_Get( "r_maxpolys", va("%d", MAX_POLYS), 0);
r_maxpolyverts = ri.Cvar_Get( "r_maxpolyverts", va("%d", MAX_POLYVERTS), 0);
+ r_GLlibCoolDownMsec = ri.Cvar_Get( "r_GLlibCoolDownMsec", "0", CVAR_ARCHIVE );
+
// make sure all the commands added here are also
// removed in R_Shutdown
ri.Cmd_AddCommand( "imagelist", R_ImageList_f );