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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Feb 6 15:06:04 EST 2011


Author: thilo
Date: 2011-02-06 15:06:03 -0500 (Sun, 06 Feb 2011)
New Revision: 1863

Modified:
   trunk/code/renderer/tr_shader.c
Log:
How could this stay undiscovered for so long? Unbelievable.


Modified: trunk/code/renderer/tr_shader.c
===================================================================
--- trunk/code/renderer/tr_shader.c	2011-02-06 18:59:39 UTC (rev 1862)
+++ trunk/code/renderer/tr_shader.c	2011-02-06 20:06:03 UTC (rev 1863)
@@ -1034,7 +1034,7 @@
 	}
 
 	// decide which agens we can skip
-	if ( stage->alphaGen == CGEN_IDENTITY ) {
+	if ( stage->alphaGen == AGEN_IDENTITY ) {
 		if ( stage->rgbGen == CGEN_IDENTITY
 			|| stage->rgbGen == CGEN_LIGHTING_DIFFUSE ) {
 			stage->alphaGen = AGEN_SKIP;
@@ -1824,7 +1824,7 @@
 			return qfalse;
 		}
 	}
-	if ( stages[0].alphaGen == CGEN_WAVEFORM )
+	if ( stages[0].alphaGen == AGEN_WAVEFORM )
 	{
 		if ( memcmp( &stages[0].alphaWave,
 					 &stages[1].alphaWave,



More information about the quake3-commits mailing list