]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rsurf.c
fix bug in saveconfig that caused config to get saved to weird random file names...
[xonotic/darkplaces.git] / gl_rsurf.c
index 4afc3a07363060bc481539911a54baefae01bc4b..fafbf1d39e3d5415931a3fee893da1611faa4254 100644 (file)
@@ -1042,6 +1042,7 @@ void R_Q1BSP_DrawLight(entity_render_t *ent, int numsurfaces, const int *surface
        int batchelements[BATCHSIZE*3];
        texture_t *tex;
        CHECKGLERROR
+       R_UpdateAllTextureInfo(ent);
        culltriangles = r_shadow_culltriangles.integer && !(ent->flags & RENDER_NOSELFSHADOW);
        element3i = rsurface.modelelement3i;
        // this is a double loop because non-visible surface skipping has to be