improve:xr pico use vk1.1 (#15959)

This commit is contained in:
oahc09
2023-08-15 15:07:37 +08:00
committed by GitHub
parent 88bad37193
commit 22ab4b2e44
@@ -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