Remove inconsistent wgpu imports

This commit is contained in:
Héctor Ramón Jiménez 2022-11-01 19:17:08 +01:00
parent 0a12590b6f
commit bea5882c58
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 3 additions and 5 deletions

View file

@ -7,7 +7,6 @@ use iced_native::futures;
use raw_window_handle::{HasRawDisplayHandle, HasRawWindowHandle};
use std::marker::PhantomData;
use wgpu::CompositeAlphaMode;
/// A window graphics backend for iced powered by `wgpu`.
#[allow(missing_debug_implementations)]
@ -163,7 +162,7 @@ impl<Theme> iced_graphics::window::Compositor for Compositor<Theme> {
present_mode: self.settings.present_mode,
width,
height,
alpha_mode: CompositeAlphaMode::Auto,
alpha_mode: wgpu::CompositeAlphaMode::Auto,
},
);
}