From 3bbea14f24d4a7b1e7db6524646276d832eaf9d8 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Thu, 6 Aug 2020 14:09:54 +0100 Subject: [PATCH] ipc: Remove flip_y arguments to compositor creation --- src/xrt/ipc/ipc_client.h | 1 - src/xrt/ipc/ipc_client_compositor.c | 1 - src/xrt/ipc/ipc_client_instance.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/xrt/ipc/ipc_client.h b/src/xrt/ipc/ipc_client.h index bedb0f125..f50b460c6 100644 --- a/src/xrt/ipc/ipc_client.h +++ b/src/xrt/ipc/ipc_client.h @@ -95,7 +95,6 @@ struct ipc_connection int ipc_client_compositor_create(struct ipc_connection *ipc_c, struct xrt_device *xdev, - bool flip_y, struct xrt_compositor_native **out_xcn); struct xrt_device * diff --git a/src/xrt/ipc/ipc_client_compositor.c b/src/xrt/ipc/ipc_client_compositor.c index 79bb4e7d1..8c8840a82 100644 --- a/src/xrt/ipc/ipc_client_compositor.c +++ b/src/xrt/ipc/ipc_client_compositor.c @@ -507,7 +507,6 @@ ipc_compositor_destroy(struct xrt_compositor *xc) int ipc_client_compositor_create(struct ipc_connection *ipc_c, struct xrt_device *xdev, - bool flip_y, struct xrt_compositor_native **out_xcn) { struct ipc_client_compositor *c = diff --git a/src/xrt/ipc/ipc_client_instance.c b/src/xrt/ipc/ipc_client_instance.c index 4a5f81cea..c35711e03 100644 --- a/src/xrt/ipc/ipc_client_instance.c +++ b/src/xrt/ipc/ipc_client_instance.c @@ -130,7 +130,7 @@ ipc_client_instance_create_native_compositor( struct ipc_client_instance *ii = ipc_client_instance(xinst); struct xrt_compositor_native *xcn = NULL; - int ret = ipc_client_compositor_create(&ii->ipc_c, xdev, false, &xcn); + int ret = ipc_client_compositor_create(&ii->ipc_c, xdev, &xcn); if (ret < 0 || xcn == NULL) { return -1; }