diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-12-15 21:12:38 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 20:17:23 +0000 |
commit | 062dc39522c4e82f67dd5893b177545ce3cdf1b2 (patch) | |
tree | 511d341683c60ff1ddf451f8ac3f11b3182d16b0 /src | |
parent | fe811c726c365afa6a6902873b3b26c15baa6e3a (diff) |
Fix build for new modular renderer on MacOSX
Diffstat (limited to 'src')
-rw-r--r-- | src/renderer/tr_init.c | 8 |
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 // |