Moved swapchain creation into prepare function
This commit is contained in:
parent
ef067b0cf7
commit
19245a0f51
3 changed files with 2 additions and 10 deletions
|
|
@ -176,10 +176,10 @@ void VulkanExampleBase::createPipelineCache()
|
|||
|
||||
void VulkanExampleBase::prepare()
|
||||
{
|
||||
if (vulkanDevice->enableDebugMarkers)
|
||||
{
|
||||
if (vulkanDevice->enableDebugMarkers) {
|
||||
vks::debugmarker::setup(device);
|
||||
}
|
||||
initSwapchain();
|
||||
createCommandPool();
|
||||
setupSwapChain();
|
||||
createCommandBuffers();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue