diff options
author | 2022-11-01 19:17:08 +0100 | |
---|---|---|
committer | 2022-11-01 19:20:27 +0100 | |
commit | bea5882c58edac0bd5300d53b31ee4ac295bda25 (patch) | |
tree | 7c8bfd7718d4653f1aadb8e5984ec2149aa4ddca /examples/integration_wgpu/src/main.rs | |
parent | 0a12590b6f500394194ccd7588af8c6729426d71 (diff) | |
download | iced-bea5882c58edac0bd5300d53b31ee4ac295bda25.tar.gz iced-bea5882c58edac0bd5300d53b31ee4ac295bda25.tar.bz2 iced-bea5882c58edac0bd5300d53b31ee4ac295bda25.zip |
Remove inconsistent `wgpu` imports
Diffstat (limited to 'examples/integration_wgpu/src/main.rs')
-rw-r--r-- | examples/integration_wgpu/src/main.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/integration_wgpu/src/main.rs b/examples/integration_wgpu/src/main.rs index ed03f77a..70f9a48b 100644 --- a/examples/integration_wgpu/src/main.rs +++ b/examples/integration_wgpu/src/main.rs @@ -16,7 +16,6 @@ use winit::{ event_loop::{ControlFlow, EventLoop}, }; -use crate::wgpu::CompositeAlphaMode; #[cfg(target_arch = "wasm32")] use wasm_bindgen::JsCast; #[cfg(target_arch = "wasm32")] @@ -120,7 +119,7 @@ pub fn main() { width: physical_size.width, height: physical_size.height, present_mode: wgpu::PresentMode::AutoVsync, - alpha_mode: CompositeAlphaMode::Auto, + alpha_mode: wgpu::CompositeAlphaMode::Auto, }, ); @@ -215,7 +214,7 @@ pub fn main() { width: size.width, height: size.height, present_mode: wgpu::PresentMode::AutoVsync, - alpha_mode: CompositeAlphaMode::Auto + alpha_mode: wgpu::CompositeAlphaMode::Auto }, ); |