Loading vulkan/libvulkan/swapchain.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -924,8 +924,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(); Loading Loading
vulkan/libvulkan/swapchain.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -924,8 +924,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(); Loading