From 484cd90d29781cf4523f886fcf76d27505c8a4d8 Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Tue, 6 Dec 2022 22:20:51 +1100 Subject: Make submitting depth buffer in OpenXR optional --- main/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main') diff --git a/main/main.cpp b/main/main.cpp index c2e2238482..9c0c883544 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1862,6 +1862,8 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph GLOBAL_DEF_BASIC("xr/openxr/reference_space", "1"); ProjectSettings::get_singleton()->set_custom_property_info("xr/openxr/reference_space", PropertyInfo(Variant::INT, "xr/openxr/reference_space", PROPERTY_HINT_ENUM, "Local,Stage")); + GLOBAL_DEF_BASIC("xr/openxr/submit_depth_buffer", false); + #ifdef TOOLS_ENABLED // Disabled for now, using XR inside of the editor we'll be working on during the coming months. -- cgit v1.2.3