- addressed a problem with materials depending on automatically added textures.

This isn't a fix, it just removes a sanity check that really shouldn't be, but thanks of an underspecification of the material definition it was never possible to do this case properly.
This commit is contained in:
Christoph Oelckers 2020-06-03 00:16:25 +02:00
commit fa54afbd08
2 changed files with 2 additions and 1 deletions

View file

@ -1401,6 +1401,7 @@ class GLDefsParser
!usershaders[i].defines.Compare(usershader.defines))
{
SetShaderIndex(tex, i + FIRST_USER_SHADER);
tex->SetShaderLayers(mlay);
return;
}
}