mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +00:00
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:
parent
cf5c9f067f
commit
099d9ec3f2
1 changed files with 1 additions and 2 deletions
|
@ -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] +
|
||||
|
|
Loading…
Reference in a new issue