mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
ipc: Return error from ipc_call_session_create in create_native_compositor
This commit is contained in:
parent
c49abf9103
commit
3953321129
|
@ -822,6 +822,10 @@ ipc_syscomp_create_native_compositor(struct xrt_system_compositor *xsc,
|
|||
// Needs to be done before init.
|
||||
IPC_CALL_CHK(ipc_call_session_create(icc->ipc_c, xsi));
|
||||
|
||||
if (res != XRT_SUCCESS) {
|
||||
return res;
|
||||
}
|
||||
|
||||
// Needs to be done after session create call.
|
||||
ipc_compositor_init(icc, out_xcn);
|
||||
|
||||
|
|
Loading…
Reference in a new issue