mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- use proper map section for wall mirror portal
https://forum.zdoom.org/viewtopic.php?t=60671
This commit is contained in:
parent
a0695cbb48
commit
f06ee10495
1 changed files with 2 additions and 2 deletions
|
@ -874,6 +874,8 @@ void GLMirrorPortal::DrawContents(FDrawInfo *di)
|
|||
return;
|
||||
}
|
||||
|
||||
di->UpdateCurrentMapSection();
|
||||
|
||||
di->mClipPortal = this;
|
||||
DAngle StartAngle = r_viewpoint.Angles.Yaw;
|
||||
DVector3 StartPos = r_viewpoint.Pos;
|
||||
|
@ -943,8 +945,6 @@ void GLMirrorPortal::DrawContents(FDrawInfo *di)
|
|||
angle_t a1 = linedef->v2->GetClipAngle();
|
||||
di->mClipper->SafeAddClipRange(a1,a2);
|
||||
|
||||
di->UpdateCurrentMapSection();
|
||||
|
||||
gl_RenderState.SetClipLine(linedef);
|
||||
gl_RenderState.EnableClipLine(true);
|
||||
drawer->DrawScene(di, DM_PORTAL);
|
||||
|
|
Loading…
Reference in a new issue