The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

c/main: Use vk_cmd_submit_locked in vk_helper to simply peek logic

Signed-off-by: utzcoz <utzcoz@outlook.com>

utzcoz e0433b4e 2173f44f

+1 -3
+1 -3
src/xrt/compositor/main/comp_window_peek.c
··· 423 423 }; 424 424 425 425 // Done writing commands, submit to queue. 426 - os_mutex_lock(&vk->queue_mutex); 427 - ret = vk->vkQueueSubmit(vk->queue, 1, &submit, VK_NULL_HANDLE); 428 - os_mutex_unlock(&vk->queue_mutex); 426 + ret = vk_cmd_submit_locked(vk, 1, &submit, VK_NULL_HANDLE); 429 427 430 428 // Done submitting commands, unlock pool. 431 429 vk_cmd_pool_unlock(&w->pool);