···682682 // Can we create swapchains from the surface on this device and queue.
683683 ret = vk->vkGetPhysicalDeviceSurfaceSupportKHR( //
684684 vk->physical_device, // physicalDevice
685685- vk->queue_family_index, // queueFamilyIndex
685685+ vk->main_queue.family_index, // queueFamilyIndex
686686 cts->surface.handle, // surface
687687 &supported); // pSupported
688688 if (ret != VK_SUCCESS) {
+1-1
src/xrt/compositor/main/comp_window_peek.c
···457457 };
458458459459 os_mutex_lock(&vk->queue_mutex);
460460- ret = vk->vkQueuePresentKHR(vk->queue, &present);
460460+ ret = vk->vkQueuePresentKHR(vk->main_queue.queue, &present);
461461 os_mutex_unlock(&vk->queue_mutex);
462462463463 if (ret != VK_SUCCESS) {