GPU: Restart when changing inflight frames setting.

We need to keep the push and pull in step, so changing at runtime is
messy.
This commit is contained in:
Unknown W. Brackets committed 2020-03-02 19:21:15 -08:00
1 parent fa8968f5c6
commit 051a84e9bd
15 files changed
+44 -24

No files matched your search

+1
View File
@@ -174,6 +174,7 @@ bool AndroidVulkanContext::InitFromRenderThread(ANativeWindow *wnd, int desiredB
draw_->HandleEvent(Draw::Event::GOT_BACKBUFFER, g_Vulkan->GetBackbufferWidth(), g_Vulkan->GetBackbufferHeight());
VulkanRenderManager *renderManager = (VulkanRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
renderManager->SetInflightFrames(g_Config.iInflightFrames);
success = renderManager->HasBackbuffers();
} else {
success = false;