diff --git a/src/main.rs b/src/main.rs index 127f27a..007aef4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,7 +8,7 @@ fn main() { let event_loop = EventLoop::new().unwrap(); event_loop.set_control_flow(ControlFlow::Poll); - + let window_attributes = winit::window::Window::default_attributes() .with_title("Rust ASH Test") .with_inner_size(winit::dpi::PhysicalSize::new( diff --git a/src/vulkan/vk_render_context.rs b/src/vulkan/vk_render_context.rs index 9726fdf..c862814 100644 --- a/src/vulkan/vk_render_context.rs +++ b/src/vulkan/vk_render_context.rs @@ -29,7 +29,7 @@ impl VkRenderContext { Some(vk::QueueFlags::GRAPHICS), Some(&surface), ) - .ok_or_else(|| anyhow::anyhow!("Unable to find physical device"))?; + .ok_or_else(|| anyhow::anyhow!("Unable to find physical device"))?; log::debug!( "Selected queue {properties:#?} for physical device {:?}", physical_device.properties.device_name_as_c_str()