Merge pull request #109969 from dsnopek/openxr-validation-errors

OpenXR: Fix errors reported by `XrApiLayer_core_validation`
This commit is contained in:
Thaddeus Crews
2025-09-19 20:54:28 -05:00
2 changed files with 30 additions and 7 deletions

View File

@ -182,6 +182,8 @@ void OpenXRFBFoveationExtension::_update_profile() {
XrSwapchainStateFoveationFB foveation_update_state;
foveation_update_state.type = XR_TYPE_SWAPCHAIN_STATE_FOVEATION_FB;
foveation_update_state.next = nullptr;
foveation_update_state.flags = 0;
foveation_update_state.profile = foveation_profile;
result = fov_ext->swapchain_update_state_ext->xrUpdateSwapchainFB(main_color_swapchain, (XrSwapchainStateBaseHeaderFB *)&foveation_update_state);