OpenXR - Allow updating camera in realtime

This commit is contained in:
Lubos committed 2022-10-28 15:50:00 +02:00
1 parent f4f7dc570f
commit 96f89f4bd7
4 files changed
+25 -7

No files matched your search

+2 -2
View File
@@ -1296,9 +1296,9 @@ bool NativeTouch(const TouchInput &touch) {
}
bool NativeKey(const KeyInput &key) {
// Hack to quickly enable 2D mode in VR game mode.
// Special key VR actions
if (IsVRBuild()) {
UpdateVRScreenKey(key);
UpdateVRSpecialKeys(key);
}
// INFO_LOG(SYSTEM, "Key code: %i flags: %i", key.keyCode, key.flags);