mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-08 17:31:29 -06:00
Vulkan: Move command buffer setup to more sensible location
This commit is contained in:
parent
e376b15075
commit
8af510b9e3
@ -784,9 +784,6 @@ void VulkanRenderer::InitializeSurface(const Vector2i& size, bool mainWindow)
|
||||
{
|
||||
m_mainSwapchainInfo = std::make_unique<SwapchainInfoVk>(mainWindow, size);
|
||||
m_mainSwapchainInfo->Create();
|
||||
|
||||
// aquire first command buffer
|
||||
InitFirstCommandBuffer();
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1659,6 +1656,7 @@ void VulkanRenderer::ImguiInit()
|
||||
void VulkanRenderer::Initialize()
|
||||
{
|
||||
Renderer::Initialize();
|
||||
InitFirstCommandBuffer();
|
||||
CreatePipelineCache();
|
||||
ImguiInit();
|
||||
CreateNullObjects();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user