From 2cd3740b2f13c9d59dc5ddb208e2d0faba88c80c Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 17 Dec 2005 20:16:49 +0000 Subject: [PATCH] This *WILL* boost fps slightly. By as much as 50 perhaps. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1722 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_rsurf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/gl/gl_rsurf.c b/engine/gl/gl_rsurf.c index fb6763036..8a8125737 100644 --- a/engine/gl/gl_rsurf.c +++ b/engine/gl/gl_rsurf.c @@ -915,6 +915,7 @@ void GLR_BuildLightMap (msurface_t *surf, qbyte *dest, qbyte *deluxdest, stmap * { scale = d_lightstylevalue[surf->styles[maps]]/3; surf->cached_light[maps] = scale; // 8.8 fraction + surf->cached_colour[maps] = cl_lightstyle[surf->styles[maps]].colour; for (i=0 ; istyles[maps]]; surf->cached_light[maps] = scale; // 8.8 fraction + surf->cached_colour[maps] = cl_lightstyle[surf->styles[maps]].colour; for (i=0 ; i