From 349d85168a0d0afbf1cb81ab2c8da6b1e3f09122 Mon Sep 17 00:00:00 2001 From: Waffl3x Date: Fri, 11 Nov 2022 01:06:47 -0500 Subject: Remove redundant code loader_make_version recently was changed to zero out the patch version, explicitly doing it is no longer necessary. --- loader/trampoline.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/loader/trampoline.c b/loader/trampoline.c index b8d76322a..9066a0878 100644 --- a/loader/trampoline.c +++ b/loader/trampoline.c @@ -459,8 +459,6 @@ LOADER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkCreateInstance(const VkInstanceCr ptr_instance->app_api_version = LOADER_VERSION_1_0_0; } else { ptr_instance->app_api_version = loader_make_version(pCreateInfo->pApplicationInfo->apiVersion); - // zero out the patch version since we don't actually want to compare with it - ptr_instance->app_api_version.patch = 0; } // Look for one or more VK_EXT_debug_report or VK_EXT_debug_utils create info structures -- cgit v1.2.3