- fixed missing custom shader setup in cases where a shader got used more than once.

This commit is contained in:
Christoph Oelckers 2020-06-02 20:20:18 +02:00
parent 8f07ab87c8
commit f118cd78bf
1 changed files with 1 additions and 0 deletions

View File

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