mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 03:55:26 +00:00
Renamed Vulkan library on Linux OS to libvulkan.so.1.
This commit is contained in:
@@ -92,7 +92,7 @@ namespace ApiWithoutSecrets {
|
|||||||
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
||||||
VulkanLibrary = LoadLibrary( "vulkan-1.dll" );
|
VulkanLibrary = LoadLibrary( "vulkan-1.dll" );
|
||||||
#elif defined(VK_USE_PLATFORM_XCB_KHR) || defined(VK_USE_PLATFORM_XLIB_KHR)
|
#elif defined(VK_USE_PLATFORM_XCB_KHR) || defined(VK_USE_PLATFORM_XLIB_KHR)
|
||||||
VulkanLibrary = dlopen( "libvulkan.so", RTLD_NOW );
|
VulkanLibrary = dlopen( "libvulkan.so.1", RTLD_NOW );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if( VulkanLibrary == nullptr ) {
|
if( VulkanLibrary == nullptr ) {
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ namespace ApiWithoutSecrets {
|
|||||||
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
||||||
VulkanLibrary = LoadLibrary( "vulkan-1.dll" );
|
VulkanLibrary = LoadLibrary( "vulkan-1.dll" );
|
||||||
#elif defined(VK_USE_PLATFORM_XCB_KHR) || defined(VK_USE_PLATFORM_XLIB_KHR)
|
#elif defined(VK_USE_PLATFORM_XCB_KHR) || defined(VK_USE_PLATFORM_XLIB_KHR)
|
||||||
VulkanLibrary = dlopen( "libvulkan.so", RTLD_NOW );
|
VulkanLibrary = dlopen( "libvulkan.so.1", RTLD_NOW );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if( VulkanLibrary == nullptr ) {
|
if( VulkanLibrary == nullptr ) {
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ namespace ApiWithoutSecrets {
|
|||||||
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
||||||
VulkanLibrary = LoadLibrary( "vulkan-1.dll" );
|
VulkanLibrary = LoadLibrary( "vulkan-1.dll" );
|
||||||
#elif defined(VK_USE_PLATFORM_XCB_KHR) || defined(VK_USE_PLATFORM_XLIB_KHR)
|
#elif defined(VK_USE_PLATFORM_XCB_KHR) || defined(VK_USE_PLATFORM_XLIB_KHR)
|
||||||
VulkanLibrary = dlopen( "libvulkan.so", RTLD_NOW );
|
VulkanLibrary = dlopen( "libvulkan.so.1", RTLD_NOW );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if( VulkanLibrary == nullptr ) {
|
if( VulkanLibrary == nullptr ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user