mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- removed access to deleted variable.
This commit is contained in:
parent
b0460eee19
commit
821c2ec4c7
1 changed files with 0 additions and 3 deletions
|
@ -136,7 +136,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)
|
||||
|
@ -202,7 +201,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;
|
||||
}
|
||||
|
||||
|
@ -260,7 +258,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