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

Commit 17d9cbb2 authored by Noelle Scobie's avatar Noelle Scobie
Browse files

Correct VulkanBackendContext::fMaxAPIVersion passed to Skia

Unblocks http://review.skia.org/988938

Credit: Shahbaz Youssefi <syoussefi@google.com>

Bug: b/415173377
Flag: EXEMPT trivial fix for WIP code
Test: manually tested with blocked Skia CL patched on Pixel 9
Change-Id: I301f5efd922434d28e21f1cfb0b5e241caed6959
parent a15e40e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -534,7 +534,7 @@ void VulkanInterface::init(bool protectedContent) {
    mDevice = device;
    mQueue = graphicsQueue;
    mQueueIndex = graphicsQueueIndex;
    mApiVersion = physicalDeviceApiVersion;
    mApiVersion = std::min(physicalDeviceApiVersion, appInfo.apiVersion);
    // grExtensions already constructed
    // feature pointers already constructed
    mGrGetProc = sGetProc;