vulkan: #if DETECT_OS_ANDROID --> #if defined(VK_USE_PLATFORM_ANDROID_KHR)
The use of the bionic toolchain (DETECT_OS_ANDROID) does not mean that the typical set of Android libraries (nativewindow, gralloc) are used on the system. Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36829>
This commit is contained in:
committed by
Marge Bot
parent
2d597b6919
commit
11a6a49534
@@ -305,7 +305,7 @@ vk_common_SetDebugUtilsObjectNameEXT(
|
||||
{
|
||||
VK_FROM_HANDLE(vk_device, device, _device);
|
||||
|
||||
#if DETECT_OS_ANDROID
|
||||
#ifdef VK_USE_PLATFORM_ANDROID_KHR
|
||||
if (pNameInfo->objectType == VK_OBJECT_TYPE_SWAPCHAIN_KHR ||
|
||||
pNameInfo->objectType == VK_OBJECT_TYPE_SURFACE_KHR) {
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user