Implement support for unicode in Windows projects using vk::DynamicLoader. (#422)

This commit is contained in:
Warpten 2019-11-06 14:44:33 +01:00 committed by Markus Tavenrath
parent 96b0bfdf0d
commit 5512f6df92
2 changed files with 2 additions and 2 deletions

View File

@ -1055,7 +1055,7 @@ void VulkanHppGenerator::appendDispatchLoaderDynamic(std::string & str)
#elif defined(__APPLE__)
m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL );
#elif defined(_WIN32)
m_library = LoadLibrary( "vulkan-1.dll" );
m_library = LoadLibrary( TEXT( "vulkan-1.dll" ) );
#else
assert( false && "unsupported platform" );
#endif

View File

@ -73811,7 +73811,7 @@ namespace VULKAN_HPP_NAMESPACE
#elif defined(__APPLE__)
m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL );
#elif defined(_WIN32)
m_library = LoadLibrary( "vulkan-1.dll" );
m_library = LoadLibrary( TEXT( "vulkan-1.dll" ) );
#else
assert( false && "unsupported platform" );
#endif