mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-23 21:03:02 +00:00
Merge branch 'fix-fof-holes-culling' into 'next'
Fix holes in FOF due to culling Closes #1308 See merge request STJr/SRB2!2533
This commit is contained in:
commit
a4bf68bbb4
1 changed files with 1 additions and 1 deletions
|
@ -2492,7 +2492,7 @@ static void HWR_Subsector(size_t num)
|
|||
|
||||
if (gl_frontsector->cullheight)
|
||||
{
|
||||
if (HWR_DoCulling(gl_frontsector->cullheight, viewsector->cullheight, gl_viewz, FIXED_TO_FLOAT(bottomCullHeight), FIXED_TO_FLOAT(topCullHeight)))
|
||||
if (HWR_DoCulling(gl_frontsector->cullheight, viewsector->cullheight, gl_viewz, FIXED_TO_FLOAT(*rover->bottomheight), FIXED_TO_FLOAT(*rover->topheight)))
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue