Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/Vulkan-Loader.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaffl3x <waffl3x@protonmail.com>2022-11-11 09:06:47 +0300
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2022-11-11 20:37:56 +0300
commit349d85168a0d0afbf1cb81ab2c8da6b1e3f09122 (patch)
tree1aaca4ef01f2e8f6c62bc84ddc9b12adb9732502
parentf18d3e3c5db1060dc7cb3e7836ab3c6f49d46ae4 (diff)
Remove redundant code
loader_make_version recently was changed to zero out the patch version, explicitly doing it is no longer necessary.
-rw-r--r--loader/trampoline.c2
1 files changed, 0 insertions, 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