Skip to content
Snippets Groups Projects
Commit 2046bc6b authored by Jens Koenen's avatar Jens Koenen
Browse files

Fixed mistake

parent 6d88727b
No related branches found
No related tags found
No related merge requests found
...@@ -419,6 +419,8 @@ void OpenXRHeadset::submit_frame(VkCommandBuffer command_buffer, VkImageLayout f ...@@ -419,6 +419,8 @@ void OpenXRHeadset::submit_frame(VkCommandBuffer command_buffer, VkImageLayout f
this->end_frame(); this->end_frame();
} }
}; };
this->get_application()->get_renderer().add_submission(submission);
} }
} }
...@@ -909,7 +911,14 @@ bool OpenXRHeadset::update_actions() ...@@ -909,7 +911,14 @@ bool OpenXRHeadset::update_actions()
sync_info.countActiveActionSets = 1; sync_info.countActiveActionSets = 1;
sync_info.activeActionSets = &active_set; sync_info.activeActionSets = &active_set;
if (xrSyncActions(this->session, &sync_info) != XR_SUCCESS) XrResult result = xrSyncActions(this->session, &sync_info);
if (result == XR_SESSION_NOT_FOCUSED)
{
return true;
}
else if (result != XR_SUCCESS)
{ {
lava::log()->error("OpenXR: Can't sync action set!"); lava::log()->error("OpenXR: Can't sync action set!");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment