From 32ad6dc887b09c2204ba46137569513e73681586 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Mon, 4 Mar 2019 15:27:54 +0100 Subject: [PATCH] - draw the weapon --- 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 0b33ab2877..70e7b99f18 100644 --- a/src/rendering/vulkan/system/vk_framebuffer.cpp +++ b/src/rendering/vulkan/system/vk_framebuffer.cpp @@ -385,6 +385,8 @@ sector_t *VulkanFrameBuffer::RenderViewpoint(FRenderViewpoint &mainvp, AActor * mBuffers->BlitSceneToTexture(); // Copy the resulting scene to the current post process texture PostProcessScene(cm, [&]() { di->DrawEndScene2D(mainvp.sector, *GetRenderState()); }); +#else + di->DrawEndScene2D(mainvp.sector, *GetRenderState()); #endif PostProcess.Unclock();