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

@ -199,6 +199,6 @@ namespace swrenderer
}
drawerargs.SetBaseColormap(spr->Light.BaseColormap);
drawerargs.DrawMasked(thread, spr->gzt, spr->yscale, spr->renderflags & RF_XFLIP, spr->renderflags & RF_YFLIP, spr->wallc, mlight, WallSpriteTile, floorclip, mceilingclip, spr->RenderStyle);
drawerargs.DrawMasked(thread, spr->gzt, spr->yscale, spr->renderflags & RF_XFLIP, spr->renderflags & RF_YFLIP, spr->wallc, x1, x2, mlight, WallSpriteTile, floorclip, mceilingclip, spr->RenderStyle);
}
}