Combine two types of commands into one generation function.

This commit is contained in:
asuessenbach
2022-03-16 10:18:23 +01:00
parent f58e6ad301
commit a104fd65d3
5 changed files with 1123 additions and 1199 deletions

View File

@@ -51,7 +51,7 @@ MyVulkanTest::MyVulkanTest()
int main( int /*argc*/, char ** /*argv*/ )
{
// to prevent a warning on unreferenced function vk::getDispatchLoaderStatic, use just one arbitrary vk-function
vk::enumerateInstanceVersion();
(void)vk::enumerateInstanceVersion();
char const * appName = "DesignatedInitializers";
uint32_t appVersion = 1;