summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/renderer/tr_init.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/renderer/tr_init.c b/src/renderer/tr_init.c
index 1ef9fde9..ffe01710 100644
--- a/src/renderer/tr_init.c
+++ b/src/renderer/tr_init.c
@@ -29,6 +29,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;
@@ -993,6 +997,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
//