mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-03-01 14:30:49 +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)
|
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);
|
||||||
|
|
Loading…
Reference in a new issue