Skip to content

Commit

Permalink
Test windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Beanavil committed Dec 14, 2023
1 parent c0ae855 commit c8072ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions samples/extensions/khr/externalmemory/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,8 @@ int main(int argc, char* argv[])

// We need to get the pointer to the vkGetMemoryFdKHR function because it's
// from extension VK_KHR_external_memory_fd.
PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR =
(PFN_vkGetMemoryFdKHR)vkGetDeviceProcAddr(vk_device,
PFN_vkGetMemoryWin32HandleKHR vkGetMemoryFdKHR =
(PFN_vkGetMemoryWin32HandleKHR)vkGetDeviceProcAddr(vk_device,
vk_get_memory_function_name);

VK_CHECK(vkGetMemoryFdKHR(vk_device, &fd_info_x, &fd_x));
Expand Down
4 changes: 2 additions & 2 deletions samples/extensions/khr/externalmemory/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,8 @@ int main(int argc, char* argv[])

// We need to get the pointer to the vkGetMemoryFdKHR function because
// it's from extension VK_KHR_external_memory_fd.
PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR =
(PFN_vkGetMemoryFdKHR)vkGetDeviceProcAddr(
PFN_vkGetMemoryWin32HandleKHR vkGetMemoryFdKHR =
(PFN_vkGetMemoryWin32HandleKHR)vkGetDeviceProcAddr(
vk_device, vk_get_memory_function_name.c_str());

VK_CHECK(vkGetMemoryFdKHR(vk_device, &fd_info_x, &fd_x));
Expand Down

0 comments on commit c8072ea

Please sign in to comment.