mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2024-11-27 02:00:41 +00:00
gl: remove never-read variable lightplane
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
8c71de3609
commit
63fa4cdc99
@ -262,7 +262,6 @@ LIGHT SAMPLING
|
||||
=============================================================================
|
||||
*/
|
||||
|
||||
static mplane_t *lightplane;
|
||||
vec3_t lightspot;
|
||||
|
||||
static int
|
||||
@ -317,7 +316,6 @@ RecursiveLightPoint(const mnode_t *node, const vec3_t start, const vec3_t end)
|
||||
|
||||
// check for impact on this node
|
||||
VectorCopy(mid, lightspot);
|
||||
lightplane = plane;
|
||||
|
||||
surf = cl.worldmodel->surfaces + node->firstsurface;
|
||||
for (i = 0; i < node->numsurfaces; i++, surf++) {
|
||||
|
Loading…
Reference in New Issue
Block a user