gl: remove never-read variable lightplane

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2013-04-25 19:10:01 +09:30
parent 8c71de3609
commit 63fa4cdc99

View File

@ -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++) {