- fixed OpenGL2.0 may not call the modern light setup code.

This commit is contained in:
Christoph Oelckers 2018-05-10 09:05:26 +02:00
parent fd5df6e8d1
commit 50cdcc79c8
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ void FDrawInfo::DrawSubsectors(GLFlat *flat, int pass, bool processlights, bool
int dli = flat->dynlightindex;
gl_RenderState.Apply();
if (gl.legacyMode) processlights = false;
if (flat->vboindex >= 0)
{
int index = flat->vboindex;