mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- transition scene images used for the screenshot to color attachment optimal before rendering to them
This commit is contained in:
parent
5e3ded629f
commit
99f58855ad
1 changed files with 2 additions and 0 deletions
|
@ -324,6 +324,8 @@ void VulkanFrameBuffer::WriteSavePic(player_t *player, FileWriter *file, int wid
|
|||
// Switch to render buffers dimensioned for the savepic
|
||||
mActiveRenderBuffers = mSaveBuffers.get();
|
||||
|
||||
mPostprocess->ImageTransitionScene(true);
|
||||
|
||||
hw_ClearFakeFlat();
|
||||
GetRenderState()->SetVertexBuffer(screen->mVertexData);
|
||||
screen->mVertexData->Reset();
|
||||
|
|
Loading…
Reference in a new issue