mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 22:11:43 +00:00
- call SetActiveRenderTarget before drawing the software renderer scene
This commit is contained in:
parent
a2d2c778ae
commit
32ec93b009
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue