mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
anv/android: Fix type error in call to vk_errorf()
In a single call to vk_errorf() in the Android code, the arguments were swapped. The bug has existed since day one. Chrome OS used to forgive the warning, but it is now a compilation error. CC: <mesa-stable@lists.freedesktop.org> Fixes:053d4c32"anv: Implement VK_ANDROID_native_buffer (v9)" Reviewed-by: Tapani Pälli <tapani.palli@intel.com> (cherry picked from commitbe5fc0d7f1)
This commit is contained in:
parent
b956e98cd6
commit
e536024346
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ anv_image_from_gralloc(VkDevice device_h,
|
|||
goto fail_create;
|
||||
|
||||
if (bo->size < image->size) {
|
||||
result = vk_errorf(device, device->instance,
|
||||
result = vk_errorf(device->instance, device,
|
||||
VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR,
|
||||
"dma-buf from VkNativeBufferANDROID is too small for "
|
||||
"VkImage: %"PRIu64"B < %"PRIu64"B",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue