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

Commit 5eb3d315 authored by Yiwei Zhang's avatar Yiwei Zhang Committed by Android (Google) Code Review
Browse files

Merge "vkGetDeviceQueue2: fix the NULL check"

parents 274d6182 f5b9f733
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1170,8 +1170,7 @@ void GetDeviceQueue2(VkDevice device,
    const auto& data = GetData(device);

    data.driver.GetDeviceQueue2(device, pQueueInfo, pQueue);
    if (pQueue != VK_NULL_HANDLE)
        SetData(*pQueue, data);
    if (*pQueue != VK_NULL_HANDLE) SetData(*pQueue, data);
}

VKAPI_ATTR VkResult