From 22ab4b2e4485d4b3f4ebd27ae0e38d7bbe5327f4 Mon Sep 17 00:00:00 2001 From: oahc09 Date: Tue, 15 Aug 2023 15:07:37 +0800 Subject: [PATCH] improve:xr pico use vk1.1 (#15959) --- native/cocos/platform/java/modules/XRInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/cocos/platform/java/modules/XRInterface.cpp b/native/cocos/platform/java/modules/XRInterface.cpp index a9995cbfe5..cc9981801a 100644 --- a/native/cocos/platform/java/modules/XRInterface.cpp +++ b/native/cocos/platform/java/modules/XRInterface.cpp @@ -481,7 +481,7 @@ void XRInterface::initialize(void *javaVM, void *activity) { #if XR_OEM_PICO std::string graphicsApiName = GraphicsApiOpenglES; #if CC_USE_VULKAN - graphicsApiName = GraphicsApiVulkan_1_0; + graphicsApiName = GraphicsApiVulkan_1_1; #endif xr::XrEntry::getInstance()->createXrInstance(graphicsApiName.c_str()); #endif