From e2d030eaf3d5c507bce6dd15619973d02f4b9d00 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 1 Apr 2004 22:42:40 +0000 Subject: [PATCH] fixed animated textures in realtime lighting mode (now calls R_UpdateTextureInfo) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4074 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rsurf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gl_rsurf.c b/gl_rsurf.c index 1c64fdc0..5adf08f6 100644 --- a/gl_rsurf.c +++ b/gl_rsurf.c @@ -1922,6 +1922,7 @@ void R_Model_Brush_DrawLight(entity_render_t *ent, vec3_t relativelightorigin, v lightmaxs[2] = relativelightorigin[2] + lightradius; R_Mesh_Matrix(&ent->matrix); Matrix4x4_Transform(&ent->inversematrix, r_vieworigin, modelorg); + R_UpdateTextureInfo(ent); for (surfacelistindex = 0;surfacelistindex < numsurfaces;surfacelistindex++) { surface = model->brushq1.surfaces + surfacelist[surfacelistindex]; -- 2.39.2