| 449 | } |
| 450 | |
| 451 | uint32_t XRInterface::getRuntimeVersion() { |
| 452 | #if CC_USE_XR |
| 453 | return xr::XrEntry::getInstance()->getXRConfig(cc::xr::XRConfigKey::RUNTIME_VERSION).getInt(); |
| 454 | #else |
| 455 | return 1; |
| 456 | #endif |
| 457 | } |
| 458 | |
| 459 | void XRInterface::initialize(void *javaVM, void *activity) { |
| 460 | #if CC_USE_XR |
no test coverage detected