From 8985bca32c18e516c46abb55138c65505352502d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Wed, 12 Apr 2023 23:55:16 +0200 Subject: [PATCH] remove old comment about swapchain for the web (#3673) --- wgpu/examples/hello-triangle/main.rs | 1 - wgpu/examples/hello-windows/main.rs | 1 - 2 files changed, 2 deletions(-) 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")]