screenshotting the output
This commit is contained in:
@@ -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) = {
|
||||
|
||||
Reference in New Issue
Block a user