git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6194
d7cf8633-e32d-0410-b094-
e92efae38249
GL_Color((k & 15) * (1.0f / 16.0f), ((k >> 4) & 15) * (1.0f / 16.0f), ((k >> 8) & 15) * (1.0f / 16.0f), 0.2f);
RSurf_SetVertexPointer(ent, texture, surface, modelorg, false, false);
RSurf_Draw(surface);
GL_Color((k & 15) * (1.0f / 16.0f), ((k >> 4) & 15) * (1.0f / 16.0f), ((k >> 8) & 15) * (1.0f / 16.0f), 0.2f);
RSurf_SetVertexPointer(ent, texture, surface, modelorg, false, false);
RSurf_Draw(surface);
+ renderstats.entities_triangles += surface->num_triangles;
+ renderstats.entities_surfaces++;
}
}
else if (ent == r_refdef.worldentity)
}
}
else if (ent == r_refdef.worldentity)