- 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

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;