]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fixed animated textures in realtime lighting mode (now calls R_UpdateTextureInfo)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Apr 2004 22:42:40 +0000 (22:42 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Apr 2004 22:42:40 +0000 (22:42 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4074 d7cf8633-e32d-0410-b094-e92efae38249

gl_rsurf.c

index 1c64fdc0a1cb30f69986729f5d1b48fbce9e4a75..5adf08f65e93fb777dae23b69ee9e9835d94ffd0 100644 (file)
@@ -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];