Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
How could this stay undiscovered for so long? Unbelievable.
  • Loading branch information
thiloschulz committed Feb 6, 2011
1 parent f03ee4b commit 0afedc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/renderer/tr_shader.c
Expand Up @@ -1034,7 +1034,7 @@ static qboolean ParseStage( shaderStage_t *stage, char **text )
}

// 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;
Expand Down Expand Up @@ -1824,7 +1824,7 @@ static qboolean CollapseMultitexture( void ) {
return qfalse;
}
}
if ( stages[0].alphaGen == CGEN_WAVEFORM )
if ( stages[0].alphaGen == AGEN_WAVEFORM )
{
if ( memcmp( &stages[0].alphaWave,
&stages[1].alphaWave,
Expand Down

0 comments on commit 0afedc9

Please sign in to comment.