mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 08:50:55 +00:00
Fix warning
git-svn-id: https://svn.eduke32.com/eduke32@6852 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
df50dcd897
commit
f903aac29f
1 changed files with 2 additions and 2 deletions
|
@ -5677,8 +5677,8 @@ void polymost2_drawsprite(int32_t snum)
|
||||||
if ((globalorientation & CSTAT_SPRITE_ALIGNMENT) != CSTAT_SPRITE_ALIGNMENT_SLAB) // only non-voxel sprites should do this
|
if ((globalorientation & CSTAT_SPRITE_ALIGNMENT) != CSTAT_SPRITE_ALIGNMENT_SLAB) // only non-voxel sprites should do this
|
||||||
{
|
{
|
||||||
int const flag = usehightile && h_xsize[globalpicnum];
|
int const flag = usehightile && h_xsize[globalpicnum];
|
||||||
off.x = (int32_t)tspr->xoffset + (flag ? h_xoffs[globalpicnum] : picanm[globalpicnum].xofs);
|
off.x = (float)((int32_t)tspr->xoffset + (flag ? h_xoffs[globalpicnum] : picanm[globalpicnum].xofs));
|
||||||
off.y = (int32_t)tspr->yoffset + (flag ? h_yoffs[globalpicnum] : picanm[globalpicnum].yofs);
|
off.y = (float)((int32_t)tspr->yoffset + (flag ? h_yoffs[globalpicnum] : picanm[globalpicnum].yofs));
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t method = DAMETH_MASK | DAMETH_CLAMPED;
|
int32_t method = DAMETH_MASK | DAMETH_CLAMPED;
|
||||||
|
|
Loading…
Reference in a new issue