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

Commit d17a7334 authored by Greg Daniel's avatar Greg Daniel Committed by Android (Google) Code Review
Browse files

Merge "Use new GrVkBackendContext::Create api"

parents 6d8e5f68 53a35436
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -54,7 +54,8 @@ void VulkanManager::initialize() {

    auto canPresent = [](VkInstance, VkPhysicalDevice, uint32_t) { return true; };

    mBackendContext.reset(GrVkBackendContext::Create(&mPresentQueueIndex, canPresent));
    mBackendContext.reset(GrVkBackendContext::Create(vkGetInstanceProcAddr, vkGetDeviceProcAddr,
            &mPresentQueueIndex, canPresent));

    // Get all the addresses of needed vulkan functions
    VkInstance instance = mBackendContext->fInstance;