queue_present to swapchain

This commit is contained in:
maik klein 2016-12-29 04:32:55 +01:00
parent e8f2dcbfc8
commit 8a6a7823c4
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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 {