mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
OpenXR - Define extensions for Play for Dream
This commit is contained in:
1 parent
8a535e9f01
commit
52aa9c27f6
1 file changed
+7
-1
@@ -149,7 +149,13 @@ void InitVROnAndroid(void* vm, void* activity, const char* system, int version,
|
||||
}
|
||||
|
||||
//Set platform flags
|
||||
if (strcmp(vendor, "PICO") == 0) {
|
||||
|
||||
if (strcmp(vendor, "PLAY FOR DREAM") == 0) {
|
||||
VR_SetPlatformFLag(VR_PLATFORM_CONTROLLER_QUEST, true);
|
||||
VR_SetPlatformFLag(VR_PLATFORM_EXTENSION_INSTANCE, true);
|
||||
VR_SetPlatformFLag(VR_PLATFORM_EXTENSION_PERFORMANCE, true);
|
||||
VR_SetConfigFloat(VR_CONFIG_VIEWPORT_SUPERSAMPLING, 1.0f);
|
||||
} else if (strcmp(vendor, "PICO") == 0) {
|
||||
VR_SetPlatformFLag(VR_PLATFORM_CONTROLLER_PICO, true);
|
||||
VR_SetPlatformFLag(VR_PLATFORM_EXTENSION_INSTANCE, true);
|
||||
VR_SetPlatformFLag(VR_PLATFORM_EXTENSION_PASSTHROUGH, true);
|
||||
|
||||
Reference in new issue
Block a user