Source code
Revision control
Copy as Markdown
Other Tools
use crate::prelude::*;
use crate::vk;
impl crate::khr::present_wait::Device {
#[inline]
pub unsafe fn wait_for_present(
&self,
swapchain: vk::SwapchainKHR,
present_id: u64,
timeout: u64,
) -> VkResult<()> {
(self.fp.wait_for_present_khr)(self.handle, swapchain, present_id, timeout).result()
}
}