mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
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:
parent
a185886924
commit
52b51e79b9
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue