mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +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.
|
// Needs to be done before init.
|
||||||
IPC_CALL_CHK(ipc_call_session_create(icc->ipc_c, xsi));
|
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.
|
// Needs to be done after session create call.
|
||||||
ipc_compositor_init(icc, out_xcn);
|
ipc_compositor_init(icc, out_xcn);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue