mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +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