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

Commit 8879c74b authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "swapchain: fix to initialize extra_mutable_formats_ptr to nullptr" into main

parents b7145198 ae6c5aab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1922,7 +1922,7 @@ VkResult CreateSwapchainKHR(VkDevice device,
    VkImageFormatListCreateInfo extra_mutable_formats = {
        .sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR,
    };
    VkImageFormatListCreateInfo* extra_mutable_formats_ptr;
    VkImageFormatListCreateInfo* extra_mutable_formats_ptr = nullptr;

    // Look through the create_info pNext chain passed to createSwapchainKHR
    // for an image compression control struct.