diff options
author | Tapani Pälli <[email protected]> | 2018-04-11 10:23:11 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2018-04-11 13:55:49 +0300 |
commit | 9f29b1a4c84644cd2b2749352cd6064ea408ce6b (patch) | |
tree | d959d00d9728d6292ba14dba4db28ff38885c23c /src/amd | |
parent | 41e6ffee49832c57b3821e4b63e0245db7b115f9 (diff) |
vulkan: fix build issue on android (both anv/radv)
Fixes linking errors against:
anv_GetPhysicalDeviceImageFormatProperties2KHR
radv_GetPhysicalDeviceImageFormatProperties2KHR
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_android.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_android.c b/src/amd/vulkan/radv_android.c index 09da601dac9..c06c83b8ab4 100644 --- a/src/amd/vulkan/radv_android.c +++ b/src/amd/vulkan/radv_android.c @@ -230,11 +230,11 @@ VkResult radv_GetSwapchainGrallocUsageANDROID( }; /* Check that requested format and usage are supported. */ - result = radv_GetPhysicalDeviceImageFormatProperties2KHR(phys_dev_h, - &image_format_info, &image_format_props); + result = radv_GetPhysicalDeviceImageFormatProperties2(phys_dev_h, + &image_format_info, &image_format_props); if (result != VK_SUCCESS) { return vk_errorf(result, - "radv_GetPhysicalDeviceImageFormatProperties2KHR failed " + "radv_GetPhysicalDeviceImageFormatProperties2 failed " "inside %s", __func__); } |