Merge branch 'sw-splat-ceilingclip' into 'next'

Fix software splats not being clipped by ceiling walls

See merge request STJr/SRB2!1712
This commit is contained in:
LJ Sonic 2022-02-06 17:22:49 +00:00
commit 2d53842061

View file

@ -482,7 +482,7 @@ static void R_RasterizeFloorSplat(floorsplat_t *pSplat, vector2_t *verts, visspr
continue;
for (i = x1; i <= x2; i++)
cliptab[i] = (y >= mfloorclip[i]);
cliptab[i] = (y >= mfloorclip[i] || y <= mceilingclip[i]);
// clip left
while (cliptab[x1])