- call SetActiveRenderTarget before drawing the software renderer scene

This commit is contained in:
Magnus Norddahl 2019-05-03 16:05:41 +02:00
parent d1554aed37
commit 80c09c52bd

View file

@ -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);
}