mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't render sprites with negative xscale or yscale in OpenGL
This commit is contained in:
parent
b9c9660629
commit
e2adf00fc6
1 changed files with 3 additions and 0 deletions
|
|
@ -4849,6 +4849,9 @@ static void HWR_ProjectSprite(mobj_t *thing)
|
|||
if (!thing)
|
||||
return;
|
||||
|
||||
if (thing->spritexscale < 1 || thing->spriteyscale < 1)
|
||||
return;
|
||||
|
||||
dispoffset = thing->info->dispoffset;
|
||||
|
||||
this_scale = FIXED_TO_FLOAT(thing->scale);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue