diff --git a/flake.nix b/flake.nix index fd004bf3..f41c9c33 100644 --- a/flake.nix +++ b/flake.nix @@ -70,7 +70,7 @@ # Keep in sync with CMakeLists.txt monado rev rev = lib.strings.trim (builtins.readFile ./monado-rev); # Nix will output the correct hash when it doesn't match - hash = "sha256-s8OumKLn1FbrDgKg0DLLW6eIb7pmb6HtBt/AyNIaqhA="; + hash = "sha256-GuX8YKgKr28YcmZ94tZxB5YZULJqKhpc2A8FCM7g3yA="; }; }; diff --git a/monado-rev b/monado-rev index fcabbe68..2e9461e9 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -a6a580491f61b97fed54cc3f9a884d3cf0889be0 +be69de9e2db73dbbdf35bf8ea1b60613ea4969b6 diff --git a/server/compositor/compositor.cpp b/server/compositor/compositor.cpp index 5e86dbff..43373995 100644 --- a/server/compositor/compositor.cpp +++ b/server/compositor/compositor.cpp @@ -597,6 +597,8 @@ xrt_result_t compositor::get_view_config( } return XRT_SUCCESS; case XRT_VIEW_TYPE_QUAD: + case XRT_VIEW_TYPE_INVALID: + case XRT_VIEW_TYPE_MAX: return XRT_ERROR_UNSUPPORTED_VIEW_TYPE; } return XRT_ERROR_UNSUPPORTED_VIEW_TYPE;