We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 526944c commit e7884dbCopy full SHA for e7884db
code/renderer/tr_vbo.c
@@ -401,7 +401,7 @@ static qboolean isStaticTCgen( shaderStage_t *stage, int bundle )
401
case TCGEN_TEXTURE:
402
return qtrue;
403
case TCGEN_ENVIRONMENT_MAPPED:
404
- if ( bundle == 0 && isStaticTCmod( &stage->bundle[bundle] ) ) {
+ if ( bundle == 0 && stage->bundle[bundle].numTexMods == 0 ) {
405
stage->tessFlags |= TESS_ENV0 << bundle;
406
stage->tessFlags &= ~( TESS_ST0 << bundle );
407
0 commit comments