mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Change library name to load on linux to "libvulkan.so.1".
This commit is contained in:
parent
fd9c3a1f55
commit
d2a23f5086
@ -1414,7 +1414,7 @@ void VulkanHppGenerator::appendDispatchLoaderDynamic( std::string & str )
|
||||
#endif
|
||||
{
|
||||
#if defined(__linux__)
|
||||
m_library = dlopen( "libvulkan.so", RTLD_NOW | RTLD_LOCAL );
|
||||
m_library = dlopen( "libvulkan.so.1", RTLD_NOW | RTLD_LOCAL );
|
||||
#elif defined(__APPLE__)
|
||||
m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL );
|
||||
#elif defined(_WIN32)
|
||||
|
@ -96714,7 +96714,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# endif
|
||||
{
|
||||
# if defined( __linux__ )
|
||||
m_library = dlopen( "libvulkan.so", RTLD_NOW | RTLD_LOCAL );
|
||||
m_library = dlopen( "libvulkan.so.1", RTLD_NOW | RTLD_LOCAL );
|
||||
# elif defined( __APPLE__ )
|
||||
m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL );
|
||||
# elif defined( _WIN32 )
|
||||
|
Loading…
Reference in New Issue
Block a user