From 310ba49f17921f6f84be6197dd26f4631e72af0e Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 9 Jan 2012 16:46:20 +0900 Subject: [PATCH] Make the dynamic lightmaps... dynamic. --- libs/video/renderer/glsl/glsl_bsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/video/renderer/glsl/glsl_bsp.c b/libs/video/renderer/glsl/glsl_bsp.c index d93142613..c96c13de7 100644 --- a/libs/video/renderer/glsl/glsl_bsp.c +++ b/libs/video/renderer/glsl/glsl_bsp.c @@ -50,6 +50,7 @@ static __attribute__ ((used)) const char rcsid[] = "$Id$"; #include "QF/GLSL/defines.h" #include "QF/GLSL/funcs.h" #include "QF/GLSL/qf_bsp.h" +#include "QF/GLSL/qf_lightmap.h" #include "QF/GLSL/qf_textures.h" #include "QF/GLSL/qf_vid.h" @@ -258,7 +259,7 @@ chain_surface (msurface_t *surf) tex = R_TextureAnimation (surf); CHAIN_SURF_F2B (surf, tex->tex_chain); - //XXX R_AddToLightmapChain (surf); + R_BuildLightMap (surf); } }