mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
zink: Define VK_LIBNAME for OHOS
Makes it possible for zink to load the Vulkan driver on OHOS. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
This commit is contained in:
parent
375c838984
commit
cceee1f872
1 changed files with 2 additions and 0 deletions
|
|
@ -74,6 +74,8 @@ bool zink_tracing = false;
|
|||
#define VK_LIBNAME "libvulkan.1.dylib"
|
||||
#elif DETECT_OS_ANDROID
|
||||
#define VK_LIBNAME "libvulkan.so"
|
||||
#elif DETECT_OS_OHOS
|
||||
#define VK_LIBNAME "libvulkan.so"
|
||||
#else
|
||||
#define VK_LIBNAME "libvulkan.so.1"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue