mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed user shader compilation in OpenGL
This commit is contained in:
parent
648dc87101
commit
1d9da40f5b
1 changed files with 1 additions and 0 deletions
|
@ -830,6 +830,7 @@ bool FShaderCollection::CompileNextShader()
|
|||
FString defines = defaultshaders[usershaders[i].shaderType].Defines + usershaders[i].defines;
|
||||
FShader *shc = Compile(name, usershaders[i].shader, defaultshaders[usershaders[i].shaderType].lightfunc, defines, true, mPassType);
|
||||
mMaterialShaders.Push(shc);
|
||||
mCompileIndex++;
|
||||
if (mCompileIndex >= (int)usershaders.Size())
|
||||
{
|
||||
mCompileIndex = 0;
|
||||
|
|
Loading…
Reference in a new issue