Minor code cleanup

This commit is contained in:
Sascha Willems 2024-11-23 15:09:18 +01:00
parent 49f380ea1f
commit 4d91720ccc
3 changed files with 5 additions and 15 deletions

View file

@ -856,8 +856,7 @@ VulkanExampleBase::VulkanExampleBase()
}
#if (!(defined(VK_USE_PLATFORM_IOS_MVK) || defined(VK_USE_PLATFORM_MACOS_MVK) || defined(VK_USE_PLATFORM_METAL_EXT)))
if(commandLineParser.isSet("resourcepath")) {
std::string path = commandLineParser.getValueAsString("resourcepath", "");
setResourcePath(path);
vks::tools::resourcePath = commandLineParser.getValueAsString("resourcepath", "");
}
#endif