remove unused code

This commit is contained in:
Billy Messenger 2020-12-16 10:10:40 -06:00
parent 4e391013c8
commit 1c06920158

View file

@ -100,7 +100,7 @@ impl iced_graphics::window::Compositor for Compositor {
width: u32,
height: u32,
) -> Self::SwapChain {
let swap_chain = self.device.create_swap_chain(
self.device.create_swap_chain(
surface,
&wgpu::SwapChainDescriptor {
usage: wgpu::TextureUsage::OUTPUT_ATTACHMENT,
@ -109,9 +109,7 @@ impl iced_graphics::window::Compositor for Compositor {
width,
height,
},
);
swap_chain
)
}
fn draw<T: AsRef<str>>(