diff options
author | Bastiaan Olij <mux213@gmail.com> | 2023-09-12 12:39:48 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2023-09-13 14:07:23 +1000 |
commit | 3806d964e32d4fdd61293b4e276a9524dd343dee (patch) | |
tree | cc48f8f473f8ec8b9d09df9388cef628748ee1e4 /modules/openxr/openxr_api.h | |
parent | 3ed4497113fa10611b90290ce22a751fb9d26e2e (diff) | |
download | redot-engine-3806d964e32d4fdd61293b4e276a9524dd343dee.tar.gz |
Fix issue with OpenXR environment blend mode not being applied properly
Diffstat (limited to 'modules/openxr/openxr_api.h')
-rw-r--r-- | modules/openxr/openxr_api.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/openxr/openxr_api.h b/modules/openxr/openxr_api.h index 6d1c731e7a..26de535153 100644 --- a/modules/openxr/openxr_api.h +++ b/modules/openxr/openxr_api.h @@ -405,7 +405,9 @@ public: void unregister_composition_layer_provider(OpenXRCompositionLayerProvider *provider); const XrEnvironmentBlendMode *get_supported_environment_blend_modes(uint32_t &count); - bool set_environment_blend_mode(XrEnvironmentBlendMode mode); + bool is_environment_blend_mode_supported(XrEnvironmentBlendMode p_blend_mode) const; + bool set_environment_blend_mode(XrEnvironmentBlendMode p_blend_mode); + XrEnvironmentBlendMode get_environment_blend_mode() const { return environment_blend_mode; } OpenXRAPI(); ~OpenXRAPI(); |