mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- fixed missing custom shader setup in cases where a shader got used more than once.
This commit is contained in:
parent
8f07ab87c8
commit
f118cd78bf
1 changed files with 1 additions and 0 deletions
|
@ -1643,6 +1643,7 @@ class GLDefsParser
|
||||||
!usershaders[i].defines.Compare(desc.defines))
|
!usershaders[i].defines.Compare(desc.defines))
|
||||||
{
|
{
|
||||||
SetShaderIndex(tex, i + FIRST_USER_SHADER);
|
SetShaderIndex(tex, i + FIRST_USER_SHADER);
|
||||||
|
tex->SetShaderLayers(mlay);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue