This commit is contained in:
parent
86f4e6a047
commit
f67804abd9
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ fn main() {
|
||||||
|
|
||||||
let event_loop = EventLoop::new().unwrap();
|
let event_loop = EventLoop::new().unwrap();
|
||||||
event_loop.set_control_flow(ControlFlow::Poll);
|
event_loop.set_control_flow(ControlFlow::Poll);
|
||||||
|
|
||||||
let window_attributes = winit::window::Window::default_attributes()
|
let window_attributes = winit::window::Window::default_attributes()
|
||||||
.with_title("Rust ASH Test")
|
.with_title("Rust ASH Test")
|
||||||
.with_inner_size(winit::dpi::PhysicalSize::new(
|
.with_inner_size(winit::dpi::PhysicalSize::new(
|
||||||
|
|
|
@ -29,7 +29,7 @@ impl VkRenderContext {
|
||||||
Some(vk::QueueFlags::GRAPHICS),
|
Some(vk::QueueFlags::GRAPHICS),
|
||||||
Some(&surface),
|
Some(&surface),
|
||||||
)
|
)
|
||||||
.ok_or_else(|| anyhow::anyhow!("Unable to find physical device"))?;
|
.ok_or_else(|| anyhow::anyhow!("Unable to find physical device"))?;
|
||||||
log::debug!(
|
log::debug!(
|
||||||
"Selected queue {properties:#?} for physical device {:?}",
|
"Selected queue {properties:#?} for physical device {:?}",
|
||||||
physical_device.properties.device_name_as_c_str()
|
physical_device.properties.device_name_as_c_str()
|
||||||
|
|
Loading…
Reference in a new issue