- call SetActiveRenderTarget before drawing the software renderer scene

This commit is contained in:
Magnus Norddahl 2019-05-03 16:05:41 +02:00 committed by Rachael Alexanderson
parent a2d2c778ae
commit 32ec93b009

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