r_alias.c (GL_DrawAliasFrame): Initialize blend and iblend to 0 when not

lerping, which avoids a bogus compiler warning.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@150 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2010-04-26 13:44:24 +00:00
parent 4b4ee0cbe9
commit adf384e8b9

View file

@ -72,8 +72,8 @@ GL_DrawAliasFrame -- johnfitz -- rewritten to support colored light, lerping, en
*/
void GL_DrawAliasFrame (aliashdr_t *paliashdr, lerpdata_t lerpdata)
{
float vertcolor[4];
trivertx_t *verts1, *verts2;
float vertcolor[4];
trivertx_t *verts1, *verts2;
int *commands;
int count;
float u,v;
@ -95,6 +95,7 @@ void GL_DrawAliasFrame (aliashdr_t *paliashdr, lerpdata_t lerpdata)
lerping = false;
verts1 = (trivertx_t *)((byte *)paliashdr + paliashdr->posedata);
verts1 += lerpdata.pose1 * paliashdr->poseverts;
blend = iblend = 0; // avoid bogus compiler warning
}
commands = (int *)((byte *)paliashdr + paliashdr->commands);