Move the increment of order out of the loop.

I don't know what gcc's optimizations would do with it, but it seems quite
reasonable to pull the code out of the loop by hand.
This commit is contained in:
Bill Currie 2012-05-05 18:01:00 +09:00
parent cf5c9f067f
commit 099d9ec3f2

View file

@ -207,9 +207,8 @@ GL_DrawAliasShadow (const aliashdr_t *paliashdr, const vert_order_t *vo)
} else
qfglBegin (GL_TRIANGLE_STRIP);
order += 2 * count; // skip texture coords
do {
order += 2; // skip texture coords
// normals and vertices come from the frame list
point[0] =
verts->vert[0] * paliashdr->mdl.scale[0] +