mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-26 03:46:49 -08:00
Ignore network error in refresh rate change
This commit is contained in:
1 parent
23689abaa7
commit
796ec69728
1 file changed
+1
-2
@@ -506,13 +506,12 @@ xrt_result_t compositor::request_display_refresh_rate(float hz)
|
||||
try
|
||||
{
|
||||
session.send_control(to_headset::refresh_rate_change{.fps = hz});
|
||||
return XRT_SUCCESS;
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
U_LOG_W("refresh rate change failed: %s", e.what());
|
||||
return XRT_ERROR_IPC_FAILURE;
|
||||
}
|
||||
return XRT_SUCCESS;
|
||||
}
|
||||
|
||||
int compositor::acquire_image()
|
||||
|
||||
Reference in new issue
Block a user