remove unused code
This commit is contained in:
parent
4e391013c8
commit
1c06920158
1 changed files with 2 additions and 4 deletions
|
|
@ -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>>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue