From 8987aba4a4ff6a0f88310a43bbb23492aa22c998 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 22 May 2018 21:08:00 +0200 Subject: [PATCH] - restored accidentally deleted line of code. --- src/gl/scene/gl_portal.cpp | 1 + 1 file changed, 1 insertion(+) 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) {