mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-03 21:52:40 +00:00
Fix infinitely long splat spans
This commit is contained in:
parent
a6f2e8b9c6
commit
394150fca4
1 changed files with 3 additions and 0 deletions
|
|
@ -268,6 +268,9 @@ void R_RenderFloorSplat(floorsplat_t *pSplat, vertex_t *verts, vissprite_t *vis)
|
|||
x2 = swap;
|
||||
}
|
||||
|
||||
if (x1 == INT16_MIN || x2 == INT16_MAX)
|
||||
continue;
|
||||
|
||||
if (x1 < 0)
|
||||
x1 = 0;
|
||||
if (x2 >= vid.width)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue