diff --git a/code/renderer/tr_init.c b/code/renderer/tr_init.c index 2b239d87..7e89b832 100644 --- a/code/renderer/tr_init.c +++ b/code/renderer/tr_init.c @@ -32,6 +32,10 @@ glstate_t glState; static void GfxInfo_f( void ); +#ifdef USE_RENDERER_DLOPEN +cvar_t *com_altivec; +#endif + cvar_t *r_flareSize; cvar_t *r_flareFade; cvar_t *r_flareCoeff; @@ -981,6 +985,10 @@ R_Register */ void R_Register( void ) { + #ifdef USE_RENDERER_DLOPEN + com_altivec = ri.Cvar_Get("com_altivec", "1", CVAR_ARCHIVE); + #endif + // // latched and archived variables //