Added compatibility handling for fog and dynamic lights used together

See http://forum.drdteam.org/viewtopic.php?t=7063
This commit is contained in:
alexey.lysiuk 2016-08-24 10:26:11 +03:00
parent 25645d901e
commit a185886924
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -448,6 +448,7 @@ void GLWall::Draw(int pass)
case GLPASS_LIGHTTEX:
case GLPASS_LIGHTTEX_ADDITIVE:
case GLPASS_LIGHTTEX_FOGGY:
RenderLightsCompat(pass);
break;