OpenXR - Support for Meta Horizon OS

This commit is contained in:
Luboš V authored and GitHub committed 2024-04-29 07:46:48 +02:00
1 parent 1786a4ddb0
commit 5cb7b7a686
1 file changed
+1 -1
+1 -1
View File
@@ -154,7 +154,7 @@ void InitVROnAndroid(void* vm, void* activity, const char* system, int version,
if (strcmp(vendor, "PICO") == 0) {
VR_SetPlatformFLag(VR_PLATFORM_CONTROLLER_PICO, true);
VR_SetPlatformFLag(VR_PLATFORM_EXTENSION_INSTANCE, true);
} else if ((strcmp(vendor, "META") == 0) || (strcmp(vendor, "OCULUS") == 0)) {
} else {
VR_SetPlatformFLag(VR_PLATFORM_CONTROLLER_QUEST, true);
VR_SetPlatformFLag(VR_PLATFORM_EXTENSION_FOVEATION, true);
VR_SetPlatformFLag(VR_PLATFORM_EXTENSION_PASSTHROUGH, true);