Disable camera frustum clipping for portals
This commit is contained in:
parent
52ffadb94e
commit
45c9c281e2
1 changed files with 1 additions and 1 deletions
|
|
@ -371,7 +371,7 @@ void HWDrawInfo::AddLine (seg_t *seg, bool portalclip, FRenderState& state)
|
|||
|
||||
backsector = hw_FakeFlat(drawctx, seg->backsector, in_area, true);
|
||||
|
||||
if (hw_CheckClip(seg->sidedef, currentsector, backsector, &ClipFrustum))
|
||||
if (hw_CheckClip(seg->sidedef, currentsector, backsector, !outer ? &ClipFrustum : nullptr))
|
||||
{
|
||||
if(!Viewpoint.IsAllowedOoB() && !(seg->sidedef->Flags & WALLF_DITHERTRANS_MID))
|
||||
clipper.SafeAddClipRange(startAngle, endAngle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue