mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- fixed OpenGL2.0 may not call the modern light setup code.
This commit is contained in:
parent
fd5df6e8d1
commit
50cdcc79c8
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue