Don't render sprites with negative xscale or yscale in OpenGL
This commit is contained in:
parent
70ada935ec
commit
3ac175660c
|
@ -4849,6 +4849,9 @@ static void HWR_ProjectSprite(mobj_t *thing)
|
||||||
if (!thing)
|
if (!thing)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (thing->spritexscale < 1 || thing->spriteyscale < 1)
|
||||||
|
return;
|
||||||
|
|
||||||
dispoffset = thing->info->dispoffset;
|
dispoffset = thing->info->dispoffset;
|
||||||
|
|
||||||
this_scale = FIXED_TO_FLOAT(thing->scale);
|
this_scale = FIXED_TO_FLOAT(thing->scale);
|
||||||
|
|
Loading…
Reference in New Issue