From: havoc Date: Thu, 1 Apr 2004 22:42:40 +0000 (+0000) Subject: fixed animated textures in realtime lighting mode (now calls R_UpdateTextureInfo) X-Git-Tag: xonotic-v0.1.0preview~5946 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=e2d030eaf3d5c507bce6dd15619973d02f4b9d00;ds=sidebyside 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 --- 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];