| 88 | } |
| 89 | |
| 90 | VkResult Queue::present(const VkPresentInfoKHR &present_info) const |
| 91 | { |
| 92 | if (!can_present) |
| 93 | { |
| 94 | return VK_ERROR_INCOMPATIBLE_DISPLAY_KHR; |
| 95 | } |
| 96 | |
| 97 | return vkQueuePresentKHR(handle, &present_info); |
| 98 | } // namespace vkb |
| 99 | |
| 100 | VkResult Queue::wait_idle() const |
| 101 | { |
no outgoing calls
no test coverage detected