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

Commit 4e79c5b4 authored by Yiwei Zhang's avatar Yiwei Zhang
Browse files

Remove an obsolete TODO for vkGetPhysicalDevicePresentRectanglesKHR

On Android, vkGetPhysicalDevicePresentRectanglesKHR will just return the
whole screen.

Bug: 143294545
Test: build, flash and boot
Change-Id: Iade1771ce90115d912e047018cb64514cc7c9624
parent e32877af
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -970,7 +970,6 @@ VkResult GetPhysicalDevicePresentRectanglesKHR(VkPhysicalDevice,
                  strerror(-err), err);
        }

        // TODO(b/143294545): Return something better than "whole window"
        pRects[0].offset.x = 0;
        pRects[0].offset.y = 0;
        pRects[0].extent = VkExtent2D{static_cast<uint32_t>(width),