Skip to content
Snippets Groups Projects
Commit 2d538420 authored by LJ Sonic's avatar LJ Sonic
Browse files

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

Fix software splats not being clipped by ceiling walls

See merge request !1712
parents c69edce2 d0966f12
No related branches found
No related tags found
No related merge requests found
......@@ -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])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment