From 80c09c52bd335c2784d9af4ea707ddb624190582 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Fri, 3 May 2019 16:05:41 +0200 Subject: [PATCH] - call SetActiveRenderTarget before drawing the software renderer scene --- src/rendering/vulkan/system/vk_framebuffer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rendering/vulkan/system/vk_framebuffer.cpp b/src/rendering/vulkan/system/vk_framebuffer.cpp index 637a4c7da2..de28f31cae 100644 --- a/src/rendering/vulkan/system/vk_framebuffer.cpp +++ b/src/rendering/vulkan/system/vk_framebuffer.cpp @@ -359,6 +359,8 @@ sector_t *VulkanFrameBuffer::RenderView(player_t *player) sector_t *retsec; if (!V_IsHardwareRenderer()) { + mPostprocess->SetActiveRenderTarget(); + if (!swdrawer) swdrawer.reset(new SWSceneDrawer); retsec = swdrawer->RenderView(player); }