mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- added another weird Build specialty: no vertical sprite offset flipping for face sprites.
Just... why...? :?
This commit is contained in:
parent
be20b6a839
commit
643b969dff
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ void HWSprite::Process(HWDrawInfo* di, spritetype* spr, sectortype* sector, int
|
||||||
}
|
}
|
||||||
|
|
||||||
if (flags & CSTAT_SPRITE_XFLIP) xoff = -xoff;
|
if (flags & CSTAT_SPRITE_XFLIP) xoff = -xoff;
|
||||||
if (flags & CSTAT_SPRITE_YFLIP) yoff = -yoff;
|
//if (flags & CSTAT_SPRITE_YFLIP) yoff = -yoff; According to Polymost this must not be done.
|
||||||
|
|
||||||
ul = (spr->cstat & CSTAT_SPRITE_XFLIP) ? 0.f : 1.f;
|
ul = (spr->cstat & CSTAT_SPRITE_XFLIP) ? 0.f : 1.f;
|
||||||
ur = (spr->cstat & CSTAT_SPRITE_XFLIP) ? 1.f : 0.f;
|
ur = (spr->cstat & CSTAT_SPRITE_XFLIP) ? 1.f : 0.f;
|
||||||
|
|
Loading…
Reference in a new issue