mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-12 22:02:12 +00:00
Don't render sprites with negative xscale or yscale in OpenGL
This commit is contained in:
parent
70ada935ec
commit
3ac175660c
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…
Reference in a new issue