mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-19 15:10:52 +00:00
- removed access to deleted variable.
This commit is contained in:
parent
26a782031c
commit
cad63e9b48
1 changed files with 0 additions and 3 deletions
|
@ -139,7 +139,6 @@ void gl_SetDynSpriteLight(AActor *self, float x, float y, float z, subsector_t *
|
|||
node = node->nextLight;
|
||||
}
|
||||
gl_RenderState.SetDynLight(out[0], out[1], out[2]);
|
||||
modellightindex = -1;
|
||||
}
|
||||
|
||||
void gl_SetDynSpriteLight(AActor *thing, particle_t *particle)
|
||||
|
@ -162,7 +161,6 @@ int gl_SetDynModelLight(AActor *self, int dynlightindex)
|
|||
if (gl.lightmethod == LM_DEFERRED && dynlightindex != -1)
|
||||
{
|
||||
gl_RenderState.SetDynLight(0, 0, 0);
|
||||
modellightindex = dynlightindex;
|
||||
return dynlightindex;
|
||||
}
|
||||
|
||||
|
@ -220,7 +218,6 @@ int gl_SetDynModelLight(AActor *self, int dynlightindex)
|
|||
if (gl.lightmethod != LM_DEFERRED)
|
||||
{
|
||||
gl_RenderState.SetDynLight(0, 0, 0);
|
||||
modellightindex = dynlightindex;
|
||||
}
|
||||
return dynlightindex;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue