FindVulkan: Fix test
Co-authored-by: Juan Ramos <cmake@jpr.mozmail.com>
This commit is contained in:
parent
5d1ec25c60
commit
7c7c7721e9
@ -1,7 +1,12 @@
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
|
||||
#ifdef _WIN32
|
||||
# include <Windows.h>
|
||||
#endif
|
||||
|
||||
#include "dxc/dxcapi.h"
|
||||
#include "printf.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
@ -15,7 +15,7 @@ int main()
|
||||
try {
|
||||
|
||||
// initialize dynamic dispatcher
|
||||
vk::DynamicLoader dl;
|
||||
vk::detail::DynamicLoader dl;
|
||||
PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr =
|
||||
dl.getProcAddress<PFN_vkGetInstanceProcAddr>("vkGetInstanceProcAddr");
|
||||
VULKAN_HPP_DEFAULT_DISPATCHER.init(vkGetInstanceProcAddr);
|
||||
|
Loading…
Reference in New Issue
Block a user