From 52b51e79b9f40b924c9bbd656312f94b57f75abc Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Wed, 24 Aug 2016 10:27:14 +0300 Subject: [PATCH] Fixed missing decals in compatibility renderer The problem was appeared in conjunction with dynamic lights only See http://forum.zdoom.org/viewtopic.php?f=4&t=19321&start=405#p932733 --- src/gl/scene/gl_scene.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gl/scene/gl_scene.cpp b/src/gl/scene/gl_scene.cpp index 6e1f9a565..24fd9a678 100644 --- a/src/gl/scene/gl_scene.cpp +++ b/src/gl/scene/gl_scene.cpp @@ -411,6 +411,8 @@ void FGLRenderer::RenderScene(int recursion) if (gl.lightmethod == LM_SOFTWARE) { // also process the render lists with walls and dynamic lights + gl_drawinfo->dldrawlists[GLLDL_WALLS_PLAIN].DrawDecals(); + gl_drawinfo->dldrawlists[GLLDL_WALLS_FOG].DrawDecals(); } gl_RenderState.SetTextureMode(TM_MODULATE);