setting it to identitymatrix when there are no tcmods, because
uninitialized matrices are optimized more in the backend than identity)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7731
d7cf8633-e32d-0410-b094-
e92efae38249
if (t->backgroundnumskinframes && !(t->currentmaterialflags & MATERIALFLAGMASK_DEPTHSORTED))
t->currentmaterialflags |= MATERIALFLAG_VERTEXTEXTUREBLEND;
- for (i = 0, tcmod = t->tcmods;i < Q3MAXTCMODS && (tcmod->tcmod || i < 1);i++, tcmod++)
+ for (i = 0, tcmod = t->tcmods;i < Q3MAXTCMODS && tcmod->tcmod;i++, tcmod++)
{
matrix4x4_t matrix;
switch(tcmod->tcmod)