mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- portal rendering fix when viewing through two-sided walls outside the actual portal area.
If there's more portal area behind such a line its range in the clipper needs to be cleared again.
This commit is contained in:
parent
e89761d2d5
commit
cdf89b9175
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ int BunchDrawer::ClipLine(int line, bool portal)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (portal) clipper->SafeRemoveClipRange(startAngle, endAngle);
|
||||||
return CL_Draw | CL_Pass;
|
return CL_Draw | CL_Pass;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue