mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
st/oxr: Use xrt_comp_native_destroy helper
This commit is contained in:
parent
3729f2e8c9
commit
9dd8bfef28
|
@ -70,7 +70,7 @@ oxr_instance_destroy(struct oxr_logger *log, struct oxr_handle_base *hb)
|
|||
struct oxr_instance *inst = (struct oxr_instance *)hb;
|
||||
|
||||
// Does a null-ptr check.
|
||||
xrt_comp_destroy((struct xrt_compositor **)&inst->system.xcn);
|
||||
xrt_comp_native_destroy(&inst->system.xcn);
|
||||
|
||||
u_var_remove_root((void *)inst);
|
||||
|
||||
|
|
Loading…
Reference in a new issue