Skip to content

Commit

Permalink
- portal rendering fix when viewing through two-sided walls outside t…
Browse files Browse the repository at this point in the history
…he actual portal area.

If there's more portal area behind such a line its range in the clipper needs to be cleared again.
  • Loading branch information
coelckers committed Apr 17, 2021
1 parent e89761d commit cdf89b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/core/rendering/scene/hw_bunchdrawer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ int BunchDrawer::ClipLine(int line, bool portal)
}
else
{
if (portal) clipper->SafeRemoveClipRange(startAngle, endAngle);
return CL_Draw | CL_Pass;
}
}
Expand Down

0 comments on commit cdf89b9

Please sign in to comment.