Skip to content

Commit

Permalink
Merge pull request #3521 from neobrain/fix_libfwd_vkcreateinstance
Browse files Browse the repository at this point in the history
Library Forwarding/vulkan: Fix query of vkCreateInstance function pointer
  • Loading branch information
Sonicadvance1 authored Mar 26, 2024
2 parents 1450c92 + 4d8ffa2 commit 4ea6305
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ThunkLibs/libvulkan/Host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ static void DoSetupWithInstance(VkInstance instance) {
}

// Query pointers for functions customized below
(void*&)LDR_PTR(vkCreateInstance) = (void*)LDR_PTR(vkGetInstanceProcAddr)(instance, "vkCreateInstance");
(void*&)LDR_PTR(vkCreateDevice) = (void*)LDR_PTR(vkGetInstanceProcAddr)(instance, "vkCreateDevice");

// Only do this lookup once.
Expand Down

0 comments on commit 4ea6305

Please sign in to comment.