mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
r_alias.c (GL_DrawAliasFrame): Initialize vert2 to vert1 when not lerping,
which avoids a bogus compiler warning. git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@152 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
7dd3951cff
commit
9aa55ecbed
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ void GL_DrawAliasFrame (aliashdr_t *paliashdr, lerpdata_t lerpdata)
|
|||
{
|
||||
lerping = false;
|
||||
verts1 = (trivertx_t *)((byte *)paliashdr + paliashdr->posedata);
|
||||
verts2 = verts1; // avoid bogus compiler warning
|
||||
verts1 += lerpdata.pose1 * paliashdr->poseverts;
|
||||
blend = iblend = 0; // avoid bogus compiler warning
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue