mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-20 08:20:52 +00:00
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:
commit
2d53842061
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue