git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7831
d7cf8633-e32d-0410-b094-
e92efae38249
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
return;
R_Shadow_SetupEntityLight(ent);
- R_UpdateAllTextureInfo(ent);
model->DrawLight(ent, model->nummodelsurfaces, model->surfacelist, NULL);
}