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
This commit is contained in:
alexey.lysiuk 2016-08-24 10:27:14 +03:00
parent a185886924
commit 52b51e79b9
1 changed files with 2 additions and 0 deletions

View File

@ -411,6 +411,8 @@ void FGLRenderer::RenderScene(int recursion)
if (gl.lightmethod == LM_SOFTWARE) if (gl.lightmethod == LM_SOFTWARE)
{ {
// also process the render lists with walls and dynamic lights // 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); gl_RenderState.SetTextureMode(TM_MODULATE);