File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3641,10 +3641,10 @@ void OpenXRAPI::set_emulate_environment_blend_mode_alpha_blend(bool p_enabled) {
36413641}
36423642
36433643OpenXRAPI::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) {
3644+ if (emulate_environment_blend_mode_alpha_blend) {
36473645 return OPENXR_ALPHA_BLEND_MODE_SUPPORT_EMULATING;
3646+ } else if (is_environment_blend_mode_supported (XR_ENVIRONMENT_BLEND_MODE_ALPHA_BLEND)) {
3647+ return OPENXR_ALPHA_BLEND_MODE_SUPPORT_REAL;
36483648 }
36493649 return OPENXR_ALPHA_BLEND_MODE_SUPPORT_NONE;
36503650}
You can’t perform that action at this time.
0 commit comments