Commit 39533211 authored by Jakob Bornecrantz's avatar Jakob Bornecrantz Committed by Jakob Bornecrantz
Browse files

ipc: Return error from ipc_call_session_create in create_native_compositor

parent c49abf91
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment