Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9a89454 authored by Greg Daniel's avatar Greg Daniel
Browse files

Update call to null out GrVkAlloc in VulkanManager

Test: manual testing

Change-Id: Ia0af7526cad2dc4614afc73c31bf07e25890c677
parent e06975dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -310,7 +310,7 @@ void VulkanManager::createBuffers(VulkanSurface* surface, VkFormat format, VkExt
    for (uint32_t i = 0; i < surface->mImageCount; ++i) {
        GrVkImageInfo info;
        info.fImage = surface->mImages[i];
        info.fAlloc = {VK_NULL_HANDLE, 0, 0, 0};
        info.fAlloc = GrVkAlloc();
        info.fImageLayout = VK_IMAGE_LAYOUT_UNDEFINED;
        info.fImageTiling = VK_IMAGE_TILING_OPTIMAL;
        info.fFormat = format;