diff --git a/src/r_data/gldefs.cpp b/src/r_data/gldefs.cpp index db9af53cf..f59000619 100644 --- a/src/r_data/gldefs.cpp +++ b/src/r_data/gldefs.cpp @@ -1643,6 +1643,7 @@ class GLDefsParser !usershaders[i].defines.Compare(desc.defines)) { SetShaderIndex(tex, i + FIRST_USER_SHADER); + tex->SetShaderLayers(mlay); return; } }