mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
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:
parent
4b4ee0cbe9
commit
adf384e8b9
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue