Fix build for new modular renderer on MacOSX

This commit is contained in:
Thilo Schulz 2011-12-15 21:12:38 +00:00
parent 579d75c539
commit dfd3245c38

View file

@ -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
//