Log format used for the swapchain

This commit is contained in:
Imbris 2021-06-15 23:28:04 -04:00
parent bdff88ab7c
commit 8e8e0a1522

View File

@ -244,6 +244,7 @@ impl Renderer {
let format = adapter
.get_swap_chain_preferred_format(&surface)
.expect("No supported swap chain format found");
info!("Using {:?} as the swapchain format", format);
let sc_desc = wgpu::SwapChainDescriptor {
usage: wgpu::TextureUsage::RENDER_ATTACHMENT,