From f118cd78bf9859c9be5c4fa67b14c93cf9258863 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 2 Jun 2020 20:20:18 +0200 Subject: [PATCH] - fixed missing custom shader setup in cases where a shader got used more than once. --- src/r_data/gldefs.cpp | 1 + 1 file changed, 1 insertion(+) 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; } }