mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Added compatibility handling for fog and dynamic lights used together
See http://forum.drdteam.org/viewtopic.php?t=7063
This commit is contained in:
parent
25645d901e
commit
a185886924
2 changed files with 2 additions and 0 deletions
|
@ -448,6 +448,7 @@ void GLFlat::Draw(int pass, bool trans) // trans only has meaning for GLPASS_LIG
|
|||
|
||||
case GLPASS_LIGHTTEX:
|
||||
case GLPASS_LIGHTTEX_ADDITIVE:
|
||||
case GLPASS_LIGHTTEX_FOGGY:
|
||||
DrawLightsCompat(pass);
|
||||
break;
|
||||
|
||||
|
|
|
@ -448,6 +448,7 @@ void GLWall::Draw(int pass)
|
|||
|
||||
case GLPASS_LIGHTTEX:
|
||||
case GLPASS_LIGHTTEX_ADDITIVE:
|
||||
case GLPASS_LIGHTTEX_FOGGY:
|
||||
RenderLightsCompat(pass);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue