diff --git a/wgpu/examples/hello-triangle/main.rs b/wgpu/examples/hello-triangle/main.rs index 6175a4e462..98abf5b8d5 100644 --- a/wgpu/examples/hello-triangle/main.rs +++ b/wgpu/examples/hello-triangle/main.rs @@ -145,7 +145,6 @@ fn main() { #[cfg(not(target_arch = "wasm32"))] { env_logger::init(); - // Temporarily avoid srgb formats for the swapchain on the web pollster::block_on(run(event_loop, window)); } #[cfg(target_arch = "wasm32")] diff --git a/wgpu/examples/hello-windows/main.rs b/wgpu/examples/hello-windows/main.rs index eafd8dc590..c6798d865f 100644 --- a/wgpu/examples/hello-windows/main.rs +++ b/wgpu/examples/hello-windows/main.rs @@ -196,7 +196,6 @@ fn main() { } env_logger::init(); - // Temporarily avoid srgb formats for the swapchain on the web pollster::block_on(run(event_loop, viewports)); } #[cfg(target_arch = "wasm32")]