mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 03:03:50 +01:00
OpenXR - Enable 6DoF mode when in game
This commit is contained in:
1 parent
b1e3d8beb3
commit
7a787bd6bf
3 files changed
+19
No files matched your search
@@ -96,6 +96,10 @@ using namespace std::placeholders;
|
||||
static AVIDump avi;
|
||||
#endif
|
||||
|
||||
#ifdef OPENXR
|
||||
#include <VR/VRRenderer.h>
|
||||
#endif
|
||||
|
||||
// TODO: Ugly!
|
||||
static bool frameStep_;
|
||||
static int lastNumFlips;
|
||||
@@ -821,6 +825,9 @@ protected:
|
||||
};
|
||||
|
||||
void EmuScreen::CreateViews() {
|
||||
#ifdef OPENXR
|
||||
VR_SetMode(VR_MODE_MONO_6DOF);
|
||||
#endif
|
||||
using namespace UI;
|
||||
|
||||
auto dev = GetI18NCategory("Developer");
|
||||
|
||||
Reference in new issue
Block a user