diff --git a/src/gl/scene/gl_portal.cpp b/src/gl/scene/gl_portal.cpp index ce96aa658..25b2ff236 100644 --- a/src/gl/scene/gl_portal.cpp +++ b/src/gl/scene/gl_portal.cpp @@ -322,6 +322,7 @@ void GLPortal::End(bool usestencil) Clocker c(PortalAll); if (PrevPortal != NULL) PrevPortal->PopState(); + GLRenderer->mCurrentPortal = PrevPortal; if (usestencil) {