ipc: Return error from ipc_call_session_create in create_native_compositor

This commit is contained in:
Jakob Bornecrantz 2021-04-16 15:14:19 +01:00 committed by Jakob Bornecrantz
parent c49abf9103
commit 3953321129

View file

@ -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);