mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-11 13:11:07 +00:00
Fix warning generated by gcc
This commit is contained in:
parent
4142b6ed1b
commit
f81042b3e2
1 changed files with 4 additions and 2 deletions
|
@ -1722,7 +1722,8 @@ public:
|
||||||
// 64x64 is the most common case by far, so special case it.
|
// 64x64 is the most common case by far, so special case it.
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
*dest++ = alpha_blend(shade_bgra(sample_bilinear(source, xfrac, yfrac, 26, 26), light, shade_constants), *dest);
|
*dest = alpha_blend(shade_bgra(sample_bilinear(source, xfrac, yfrac, 26, 26), light, shade_constants), *dest);
|
||||||
|
dest++;
|
||||||
xfrac += xstep;
|
xfrac += xstep;
|
||||||
yfrac += ystep;
|
yfrac += ystep;
|
||||||
} while (--count);
|
} while (--count);
|
||||||
|
@ -1734,7 +1735,8 @@ public:
|
||||||
int xmask = ((1 << _xbits) - 1) << _ybits;
|
int xmask = ((1 << _xbits) - 1) << _ybits;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
*dest++ = alpha_blend(shade_bgra(sample_bilinear(source, xfrac, yfrac, 32 - _xbits, 32 - _ybits), light, shade_constants), *dest);
|
*dest = alpha_blend(shade_bgra(sample_bilinear(source, xfrac, yfrac, 32 - _xbits, 32 - _ybits), light, shade_constants), *dest);
|
||||||
|
dest++;
|
||||||
xfrac += xstep;
|
xfrac += xstep;
|
||||||
yfrac += ystep;
|
yfrac += ystep;
|
||||||
} while (--count);
|
} while (--count);
|
||||||
|
|
Loading…
Reference in a new issue