Convert r_clipsegment into a class
This commit is contained in:
parent
74e1cea9c3
commit
f6cc75fad5
6 changed files with 33 additions and 23 deletions
|
|
@ -378,7 +378,7 @@ namespace swrenderer
|
|||
// Find the first clippost that touches the source post
|
||||
// (adjacent pixels are touching).
|
||||
|
||||
return R_IsWallSegmentVisible(sx1, sx2);
|
||||
return RenderClipSegment::Instance()->IsVisible(sx1, sx2);
|
||||
}
|
||||
|
||||
void RenderOpaquePass::AddPolyobjs(subsector_t *sub)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue