screenshotting the output

This commit is contained in:
2020-07-28 19:18:22 -07:00
parent 5916b0d947
commit 67efffa139
7 changed files with 58 additions and 44 deletions

View File

@@ -76,9 +76,7 @@ impl VkProcessor {
let capabilities = surface.capabilities(physical).unwrap();
VkProcessor {
//physical: physical.clone(),
device: device.clone(),
queue: queue.clone(),
queues: queues,
@@ -91,12 +89,6 @@ impl VkProcessor {
}
}
/// VKProcessor controls the window. So it will let the main loop know when it is done
pub fn is_open(&mut self) -> bool {
// self.surface
true
}
/// Using the surface, we calculate the surface capabilities and create the swapchain and swapchain images
pub fn create_swapchain(&mut self, instance: Arc<Instance>, surface: Arc<Surface<Window>>) {
let (mut swapchain, images) = {