Skip to content

Commit

Permalink
Fix build for new modular renderer on MacOSX
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.icculus.org/quake3/trunk@2213 edf5b092-35ff-0310-97b2-ce42778d08ea
  • Loading branch information
thilo committed Dec 15, 2011
1 parent dac2acd commit fbfabf5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/renderer/tr_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
//
Expand Down

0 comments on commit fbfabf5

Please sign in to comment.