We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9014202 + fd622af commit dd43d40Copy full SHA for dd43d40
modules/openxr/openxr_api.cpp
@@ -3641,10 +3641,10 @@ void OpenXRAPI::set_emulate_environment_blend_mode_alpha_blend(bool p_enabled) {
3641
}
3642
3643
OpenXRAPI::OpenXRAlphaBlendModeSupport OpenXRAPI::is_environment_blend_mode_alpha_blend_supported() {
3644
- if (is_environment_blend_mode_supported(XR_ENVIRONMENT_BLEND_MODE_ALPHA_BLEND)) {
3645
- return OPENXR_ALPHA_BLEND_MODE_SUPPORT_REAL;
3646
- } else if (emulate_environment_blend_mode_alpha_blend) {
+ if (emulate_environment_blend_mode_alpha_blend) {
3647
return OPENXR_ALPHA_BLEND_MODE_SUPPORT_EMULATING;
+ } else if (is_environment_blend_mode_supported(XR_ENVIRONMENT_BLEND_MODE_ALPHA_BLEND)) {
+ return OPENXR_ALPHA_BLEND_MODE_SUPPORT_REAL;
3648
3649
return OPENXR_ALPHA_BLEND_MODE_SUPPORT_NONE;
3650
0 commit comments