mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 08:30:49 +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;
|
int dli = flat->dynlightindex;
|
||||||
|
|
||||||
gl_RenderState.Apply();
|
gl_RenderState.Apply();
|
||||||
|
if (gl.legacyMode) processlights = false;
|
||||||
if (flat->vboindex >= 0)
|
if (flat->vboindex >= 0)
|
||||||
{
|
{
|
||||||
int index = flat->vboindex;
|
int index = flat->vboindex;
|
||||||
|
|
Loading…
Reference in a new issue