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,
|
width: u32,
|
||||||
height: u32,
|
height: u32,
|
||||||
) -> Self::SwapChain {
|
) -> Self::SwapChain {
|
||||||
let swap_chain = self.device.create_swap_chain(
|
self.device.create_swap_chain(
|
||||||
surface,
|
surface,
|
||||||
&wgpu::SwapChainDescriptor {
|
&wgpu::SwapChainDescriptor {
|
||||||
usage: wgpu::TextureUsage::OUTPUT_ATTACHMENT,
|
usage: wgpu::TextureUsage::OUTPUT_ATTACHMENT,
|
||||||
|
|
@ -109,9 +109,7 @@ impl iced_graphics::window::Compositor for Compositor {
|
||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
},
|
},
|
||||||
);
|
)
|
||||||
|
|
||||||
swap_chain
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn draw<T: AsRef<str>>(
|
fn draw<T: AsRef<str>>(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue