mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 21:28:50 +00:00
ipc: Tidy and better error messages
This commit is contained in:
parent
7fb0af90de
commit
019e962f94
|
@ -328,10 +328,11 @@ ipc_handle_swapchain_create(volatile struct ipc_client_state *ics,
|
||||||
return xret;
|
return xret;
|
||||||
}
|
}
|
||||||
|
|
||||||
// create the swapchain
|
// Create the swapchain
|
||||||
struct xrt_swapchain *xsc = NULL;
|
struct xrt_swapchain *xsc = NULL;
|
||||||
xret = xrt_comp_create_swapchain(ics->xc, info, &xsc);
|
xret = xrt_comp_create_swapchain(ics->xc, info, &xsc);
|
||||||
if (xret != XRT_SUCCESS) {
|
if (xret != XRT_SUCCESS) {
|
||||||
|
fprintf(stderr, "ERROR: xrt_comp_create_swapchain failed!\n");
|
||||||
return xret;
|
return xret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue