mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- call SetActiveRenderTarget before drawing the software renderer scene
This commit is contained in:
parent
d1554aed37
commit
80c09c52bd
1 changed files with 2 additions and 0 deletions
|
@ -359,6 +359,8 @@ sector_t *VulkanFrameBuffer::RenderView(player_t *player)
|
||||||
sector_t *retsec;
|
sector_t *retsec;
|
||||||
if (!V_IsHardwareRenderer())
|
if (!V_IsHardwareRenderer())
|
||||||
{
|
{
|
||||||
|
mPostprocess->SetActiveRenderTarget();
|
||||||
|
|
||||||
if (!swdrawer) swdrawer.reset(new SWSceneDrawer);
|
if (!swdrawer) swdrawer.reset(new SWSceneDrawer);
|
||||||
retsec = swdrawer->RenderView(player);
|
retsec = swdrawer->RenderView(player);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue