mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
improve:xr pico use vk1.1 (#15959)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user