mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-28 17:38:27 +00:00
c/client: Use helper function to see if timeline semaphore is avaiable
This commit is contained in:
parent
0dbe9857c3
commit
bc89a23280
|
@ -819,7 +819,7 @@ client_vk_compositor_create(struct xrt_compositor_native *xcn,
|
|||
}
|
||||
|
||||
#ifdef VK_KHR_timeline_semaphore
|
||||
if (c->vk.features.timeline_semaphore) {
|
||||
if (vk_can_import_and_export_timeline_semaphore(&c->vk)) {
|
||||
xret = setup_semaphore(c);
|
||||
if (xret != XRT_SUCCESS) {
|
||||
goto err_mutex;
|
||||
|
|
Loading…
Reference in a new issue