turnip: Make tu_android.c compile again

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6112>
This commit is contained in:
Kristian H. Kristensen 2020-07-29 00:53:29 -07:00 committed by Marge Bot
parent a725899c3f
commit e05e60b230

View file

@ -164,7 +164,7 @@ tu_image_from_gralloc(VkDevice device_h,
&(VkMemoryAllocateInfo) {
.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO,
.pNext = &import_info,
.allocationSize = image->layout.size,
.allocationSize = image->total_size,
.memoryTypeIndex = 0,
},
alloc, &memory_h);