From b44ffd163af8d9e4036dedc8ff191969d478b433 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 19 Nov 2025 22:44:26 +0100 Subject: [PATCH] move this back oop --- src/hardware/hw_main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hardware/hw_main.cpp b/src/hardware/hw_main.cpp index 667f7f1bc..4d9120474 100644 --- a/src/hardware/hw_main.cpp +++ b/src/hardware/hw_main.cpp @@ -5477,14 +5477,14 @@ void HWR_RenderViewpoint(gl_portal_t *rootportal, player_t *player, int stencil_ } } + // draw normal things in current frame in current incremented stencil buffer area + HWR_SetStencilState(HWR_STENCIL_NORMAL, stencil_level); + HWR_SetTransform(fpov); HWR_ClearSprites(); HWR_ClearClipper(); - // draw normal things in current frame in current incremented stencil buffer area - HWR_SetStencilState(HWR_STENCIL_NORMAL, stencil_level); - if constexpr (Type == RenderViewpointType::kPortal) { if (allow_portals && rootportal)