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

Commit 1c272f54 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[vulkan] fix -Wreorder-init-list"

parents 588cfdbb e745a3ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1291,6 +1291,7 @@ VkResult CreateSwapchainKHR(VkDevice device,
    VkImageCreateInfo image_create = {
        .sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO,
        .pNext = &image_native_buffer,
        .flags = createProtectedSwapchain ? VK_IMAGE_CREATE_PROTECTED_BIT : 0u,
        .imageType = VK_IMAGE_TYPE_2D,
        .format = create_info->imageFormat,
        .extent = {0, 0, 1},
@@ -1299,7 +1300,6 @@ VkResult CreateSwapchainKHR(VkDevice device,
        .samples = VK_SAMPLE_COUNT_1_BIT,
        .tiling = VK_IMAGE_TILING_OPTIMAL,
        .usage = create_info->imageUsage,
        .flags = createProtectedSwapchain ? VK_IMAGE_CREATE_PROTECTED_BIT : 0u,
        .sharingMode = create_info->imageSharingMode,
        .queueFamilyIndexCount = create_info->queueFamilyIndexCount,
        .pQueueFamilyIndices = create_info->pQueueFamilyIndices,