From ac19af7514ca453f6e5d034d4c69152dbb9f776d Mon Sep 17 00:00:00 2001 From: ZZYZX Date: Sun, 22 Jan 2017 07:29:18 +0200 Subject: [PATCH] Fixed RenderCamera event in software renderer --- src/r_main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/r_main.cpp b/src/r_main.cpp index 11e7cfc09..25e3021f0 100644 --- a/src/r_main.cpp +++ b/src/r_main.cpp @@ -618,6 +618,9 @@ void R_HighlightPortal (PortalDrawseg* pds) void R_EnterPortal (PortalDrawseg* pds, int depth) { + // [ZZ] portal hook + E_RenderCamera(); + // [ZZ] check depth. fill portal with black if it's exceeding the visual recursion limit, and continue like nothing happened. if (depth >= r_portal_recursions) {