diff --git a/src/xrt/compositor/client/comp_gl_client.c b/src/xrt/compositor/client/comp_gl_client.c index e1ef70a67..6738c802c 100644 --- a/src/xrt/compositor/client/comp_gl_client.c +++ b/src/xrt/compositor/client/comp_gl_client.c @@ -163,8 +163,7 @@ client_gl_compositor_layer_stereo_projection(struct xrt_compositor *xc, struct client_gl_compositor *c = client_gl_compositor(xc); struct xrt_swapchain *l_xscn, *r_xscn; - assert(data->type == XRT_LAYER_STEREO_PROJECTION || - data->type == XRT_LAYER_STEREO_PROJECTION_DEPTH); + assert(data->type == XRT_LAYER_STEREO_PROJECTION); l_xscn = &client_gl_swapchain(l_xsc)->xscn->base; r_xscn = &client_gl_swapchain(r_xsc)->xscn->base; diff --git a/src/xrt/compositor/client/comp_vk_client.c b/src/xrt/compositor/client/comp_vk_client.c index 51da6ecb5..773c3ff46 100644 --- a/src/xrt/compositor/client/comp_vk_client.c +++ b/src/xrt/compositor/client/comp_vk_client.c @@ -249,8 +249,7 @@ client_vk_compositor_layer_stereo_projection(struct xrt_compositor *xc, struct client_vk_compositor *c = client_vk_compositor(xc); struct xrt_swapchain *l_xscn, *r_xscn; - assert(data->type == XRT_LAYER_STEREO_PROJECTION || - data->type == XRT_LAYER_STEREO_PROJECTION_DEPTH); + assert(data->type == XRT_LAYER_STEREO_PROJECTION); l_xscn = &client_vk_swapchain(l_xsc)->xscn->base; r_xscn = &client_vk_swapchain(r_xsc)->xscn->base; diff --git a/src/xrt/ipc/ipc_client_compositor.c b/src/xrt/ipc/ipc_client_compositor.c index 8be25c968..ddd196cb2 100644 --- a/src/xrt/ipc/ipc_client_compositor.c +++ b/src/xrt/ipc/ipc_client_compositor.c @@ -480,6 +480,8 @@ ipc_compositor_layer_stereo_projection(struct xrt_compositor *xc, { struct ipc_client_compositor *icc = ipc_client_compositor(xc); + assert(data->type == XRT_LAYER_STEREO_PROJECTION); + struct ipc_shared_memory *ism = icc->ipc_c->ism; struct ipc_layer_slot *slot = &ism->slots[icc->layers.slot_id]; struct ipc_layer_entry *layer = &slot->layers[icc->layers.num_layers];