diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-07 13:25:42 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-07 13:25:42 +0100 |
commit | a565ddcd09316b508f61647eb2d6e0b44fbc5a27 (patch) | |
tree | 68b02dbb4f780e5c59914e64dc54c19537aee9cc /main | |
parent | f9bd2ace0bc8839c5c0c6524ba578122b8bbfb34 (diff) | |
parent | 484cd90d29781cf4523f886fcf76d27505c8a4d8 (diff) |
Merge pull request #69654 from BastiaanOlij/openxr_submit_depth_optional
Make submitting depth buffer in OpenXR optional
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index fd1dfabb1b..83703c55c2 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. |