[quake3-commits] r2213 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Dec 15 16:12:38 EST 2011


Author: thilo
Date: 2011-12-15 16:12:38 -0500 (Thu, 15 Dec 2011)
New Revision: 2213

Modified:
   trunk/code/renderer/tr_init.c
Log:
Fix build for new modular renderer on MacOSX


Modified: trunk/code/renderer/tr_init.c
===================================================================
--- trunk/code/renderer/tr_init.c	2011-12-12 10:37:44 UTC (rev 2212)
+++ trunk/code/renderer/tr_init.c	2011-12-15 21:12:38 UTC (rev 2213)
@@ -32,6 +32,10 @@
 
 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 @@
 */
 void R_Register( void ) 
 {
+	#ifdef USE_RENDERER_DLOPEN
+	com_altivec = ri.Cvar_Get("com_altivec", "1", CVAR_ARCHIVE);
+	#endif	
+
 	//
 	// latched and archived variables
 	//



More information about the quake3-commits mailing list