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

Commit 9825b040 authored by Steve Pfetsch's avatar Steve Pfetsch Committed by gitbuildkicker
Browse files

Revert "Extend hack to new driver version"

Rolling back along with reverted driver drop

This reverts commit fc00a1d4.

Change-Id: I58e23d7782254824d023ce4973a75ba5d0c1f367
(cherry picked from commit 72957a98)
parent 9b51818f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -903,8 +903,7 @@ VkResult CreateSwapchainKHR(VkDevice device,
    int gralloc_usage = 0;
    if (dispatch.GetSwapchainGrallocUsage2ANDROID) {
        uint64_t consumer_usage, producer_usage;
        uint32_t driver_version = GetData(device).driver_version;
        if (driver_version == 256587285 || driver_version == 96011958) {
        if (GetData(device).driver_version == 256587285) {
            // HACK workaround for loader/driver mismatch during transition to
            // vkGetSwapchainGrallocUsage2ANDROID.
            typedef VkResult(VKAPI_PTR *