Convert r_clipsegment into a class

This commit is contained in:
Magnus Norddahl 2017-01-15 22:57:42 +01:00
commit f6cc75fad5
6 changed files with 33 additions and 23 deletions

View file

@ -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)