Combine two types of commands into one generation function.

This commit is contained in:
asuessenbach
2022-04-07 15:38:51 +02:00
parent b3612a19be
commit 26e2fc42c8
6 changed files with 910 additions and 784 deletions

View File

@@ -274,6 +274,8 @@ int main( int /*argc*/, char ** /*argv*/ )
std::vector<vk::UniqueDescriptorSet> descriptorSets = device->allocateDescriptorSetsUnique( {} );
vk::UniqueSwapchainKHR swapchain = device->createSharedSwapchainKHRUnique( {} );
// destroy the non-Unique surface used here
instance->destroySurfaceKHR( surfaceData.surface );
}