mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
anv_android: Add missing type
Fixes: 2797c75426 ("anv: fix AHB leak upon exportable allocation")
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11068>
This commit is contained in:
parent
1d2a33c705
commit
e91445464f
1 changed files with 1 additions and 1 deletions
|
|
@ -440,7 +440,7 @@ anv_create_ahw_memory(VkDevice device_h,
|
|||
const VkImportAndroidHardwareBufferInfoANDROID import_info = {
|
||||
.buffer = ahw,
|
||||
};
|
||||
result = anv_import_ahw_memory(device_h, mem, &import_info);
|
||||
VkResult result = anv_import_ahw_memory(device_h, mem, &import_info);
|
||||
|
||||
/* Release a reference to avoid leak for AHB allocation. */
|
||||
AHardwareBuffer_release(ahw);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue