mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
How could this stay undiscovered for so long? Unbelievable.
This commit is contained in:
parent
f03ee4b61c
commit
0afedc928c
1 changed files with 2 additions and 2 deletions
|
@ -1034,7 +1034,7 @@ static qboolean ParseStage( shaderStage_t *stage, char **text )
|
||||||
}
|
}
|
||||||
|
|
||||||
// decide which agens we can skip
|
// decide which agens we can skip
|
||||||
if ( stage->alphaGen == CGEN_IDENTITY ) {
|
if ( stage->alphaGen == AGEN_IDENTITY ) {
|
||||||
if ( stage->rgbGen == CGEN_IDENTITY
|
if ( stage->rgbGen == CGEN_IDENTITY
|
||||||
|| stage->rgbGen == CGEN_LIGHTING_DIFFUSE ) {
|
|| stage->rgbGen == CGEN_LIGHTING_DIFFUSE ) {
|
||||||
stage->alphaGen = AGEN_SKIP;
|
stage->alphaGen = AGEN_SKIP;
|
||||||
|
@ -1824,7 +1824,7 @@ static qboolean CollapseMultitexture( void ) {
|
||||||
return qfalse;
|
return qfalse;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( stages[0].alphaGen == CGEN_WAVEFORM )
|
if ( stages[0].alphaGen == AGEN_WAVEFORM )
|
||||||
{
|
{
|
||||||
if ( memcmp( &stages[0].alphaWave,
|
if ( memcmp( &stages[0].alphaWave,
|
||||||
&stages[1].alphaWave,
|
&stages[1].alphaWave,
|
||||||
|
|
Loading…
Reference in a new issue