mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 11:55:39 +00:00
c/client: The client compositors doesn't own the native compositor
This commit is contained in:
parent
6ec6c2eac9
commit
309037a445
|
@ -51,8 +51,7 @@ static void
|
|||
client_egl_compositor_destroy(struct xrt_compositor *xc)
|
||||
{
|
||||
struct client_gl_compositor *c = client_gl_compositor(xc);
|
||||
// Pipe down call into native compositor.
|
||||
xrt_comp_native_destroy(&c->xcn);
|
||||
|
||||
free(c);
|
||||
}
|
||||
|
||||
|
|
|
@ -35,8 +35,7 @@ static void
|
|||
client_gl_xlib_compositor_destroy(struct xrt_compositor *xc)
|
||||
{
|
||||
struct client_gl_xlib_compositor *c = client_gl_xlib_compositor(xc);
|
||||
// Pipe down call into native compositor.
|
||||
xrt_comp_native_destroy(&c->base.xcn);
|
||||
|
||||
free(c);
|
||||
}
|
||||
|
||||
|
|
|
@ -163,8 +163,6 @@ client_vk_compositor_destroy(struct xrt_compositor *xc)
|
|||
c->vk.cmd_pool = VK_NULL_HANDLE;
|
||||
}
|
||||
|
||||
// Pipe down call into native compositor.
|
||||
xrt_comp_native_destroy(&c->xcn);
|
||||
free(c);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue