Add missing segment clipping clamps for decals, sprites and wall sprites

This commit is contained in:
Magnus Norddahl 2020-03-11 02:18:43 +01:00
commit 920b322d72
5 changed files with 17 additions and 15 deletions

View file

@ -274,7 +274,7 @@ namespace swrenderer
mlight.SetSpriteLight();
drawerargs.SetBaseColormap(Light.BaseColormap);
drawerargs.DrawMasked(thread, gzt - floorclip, SpriteScale, renderflags & RF_XFLIP, renderflags & RF_YFLIP, wallc, mlight, pic, portalfloorclip, mceilingclip, RenderStyle);
drawerargs.DrawMasked(thread, gzt - floorclip, SpriteScale, renderflags & RF_XFLIP, renderflags & RF_YFLIP, wallc, x1, x2, mlight, pic, portalfloorclip, mceilingclip, RenderStyle);
}
}
}