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)