From 8a6a7823c474a10eef649801e1bf63b061a6f6a7 Mon Sep 17 00:00:00 2001 From: maik klein Date: Thu, 29 Dec 2016 04:32:55 +0100 Subject: [PATCH] queue_present to swapchain --- examples/src/bin/texture.rs | 2 +- examples/src/bin/triangle.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/src/bin/texture.rs b/examples/src/bin/texture.rs index 0bab0f3..0ea5d4f 100644 --- a/examples/src/bin/texture.rs +++ b/examples/src/bin/texture.rs @@ -828,7 +828,7 @@ fn main() { p_image_indices: &present_index, p_results: &mut present_info_err, }; - base.device.queue_present_khr(base.present_queue, &present_info).unwrap(); + base.swapchain_loader.queue_present_khr(base.present_queue, &present_info).unwrap(); }); for pipeline in graphics_pipelines { diff --git a/examples/src/bin/triangle.rs b/examples/src/bin/triangle.rs index 7da8f02..99fd498 100644 --- a/examples/src/bin/triangle.rs +++ b/examples/src/bin/triangle.rs @@ -478,7 +478,7 @@ fn main() { p_image_indices: &present_index, p_results: &mut present_info_err, }; - base.device.queue_present_khr(base.present_queue, &present_info).unwrap(); + base.swapchain_loader.queue_present_khr(base.present_queue, &present_info).unwrap(); }); for pipeline in graphics_pipelines {