From 98ef9a8ef7d7b463d89a12f970f09ad60c34c6e1 Mon Sep 17 00:00:00 2001 From: Boris-Chengbiao Zhou Date: Mon, 28 Dec 2020 04:13:22 +0100 Subject: [PATCH] comp: Fix Wayland backend --- src/xrt/compositor/main/comp_window_wayland.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xrt/compositor/main/comp_window_wayland.c b/src/xrt/compositor/main/comp_window_wayland.c index c5ce910c6..030eb5029 100644 --- a/src/xrt/compositor/main/comp_window_wayland.c +++ b/src/xrt/compositor/main/comp_window_wayland.c @@ -109,6 +109,8 @@ comp_window_wayland_create(struct comp_compositor *c) struct comp_window_wayland *w = U_TYPED_CALLOC(struct comp_window_wayland); + comp_target_swapchain_init_set_fnptrs(&w->base); + w->base.base.name = "wayland"; w->base.base.destroy = comp_window_wayland_destroy; w->base.base.flush = comp_window_wayland_flush;