mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Fix sprite rendering glitches with r_usenewaspect=1 in 8-bit mode.
git-svn-id: https://svn.eduke32.com/eduke32@2341 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
1e2125ce29
commit
5f506ec0f6
1 changed files with 2 additions and 1 deletions
|
@ -5647,7 +5647,8 @@ static void drawsprite(int32_t snum)
|
|||
x = (xp1-globalposx) + scale(xp2-xp1,z1,z1-z2);
|
||||
y = (yp1-globalposy) + scale(yp2-yp1,z1,z1-z2);
|
||||
|
||||
yp1 = dmulscale14(x,cosglobalang,y,singlobalang);
|
||||
yp1 = dmulscale14(x,cosviewingrangeglobalang,y,sinviewingrangeglobalang);
|
||||
|
||||
if (yp1 > 0)
|
||||
{
|
||||
xp1 = dmulscale14(y,cosglobalang,-x,singlobalang);
|
||||
|
|
Loading…
Reference in a new issue