mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-20 16:41:02 +00:00
Make sure everything has finished rendering or uploading before changing the render buffers
This commit is contained in:
parent
24bf0c685c
commit
4644221454
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ void VkRenderBuffers::BeginFrame(int width, int height, int sceneWidth, int scen
|
|||
|
||||
if (width != mWidth || height != mHeight || mSamples != samples)
|
||||
{
|
||||
fb->GetCommands()->WaitForCommands(false);
|
||||
fb->GetRenderPassManager()->RenderBuffersReset();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue