aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-25 19:54:31 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-25 19:54:31 +0000
commit6f6a6d0e4d64c69e56082d82c12c0cee7155f43c (patch)
treec90893d0418f6d12dfc54660d26a846b8e4d02a8 /code/renderer
parentfbe63afdd0785b5a5813453800a581c166112328 (diff)
downloadioquake3-aero-6f6a6d0e4d64c69e56082d82c12c0cee7155f43c.tar.gz
ioquake3-aero-6f6a6d0e4d64c69e56082d82c12c0cee7155f43c.zip
* Mostly selfish patch to work around what I believe is probably an nvidia and/or agpgart bug
git-svn-id: svn://svn.icculus.org/quake3/trunk@103 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/renderer')
-rw-r--r--code/renderer/tr_init.c4
-rw-r--r--code/renderer/tr_local.h2
2 files changed, 6 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 );
diff --git a/code/renderer/tr_local.h b/code/renderer/tr_local.h
index e29feba..e9de83a 100644
--- a/code/renderer/tr_local.h
+++ b/code/renderer/tr_local.h
@@ -1091,6 +1091,8 @@ extern cvar_t *r_debugSort;
extern cvar_t *r_printShaders;
extern cvar_t *r_saveFontData;
+extern cvar_t *r_GLlibCoolDownMsec;
+
//====================================================================
float R_NoiseGet4f( float x, float y, float z, float t );