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

Commit fc637474 authored by Ian Elliott's avatar Ian Elliott Committed by Automerger Merge Worker
Browse files

Merge "swapchain: Do not return MAILBOX for VK_GOOGLE_surfaceless_query" am: f8c9b943

parents 6b84ed7a f8c9b943
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -920,8 +920,7 @@ VkResult GetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice pdev,
        // VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR and
        // VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR.  We technically cannot
        // know if VK_PRESENT_MODE_SHARED_MAILBOX_KHR is supported without a
        // surface, and that cannot be relied upon.
        present_modes.push_back(VK_PRESENT_MODE_MAILBOX_KHR);
        // surface, and that cannot be relied upon.  Therefore, don't return it.
        present_modes.push_back(VK_PRESENT_MODE_FIFO_KHR);
    } else {
        ANativeWindow* window = SurfaceFromHandle(surface)->window.get();