From f3cf734659dc9e7f33e67364920231f1c51782dd Mon Sep 17 00:00:00 2001 From: ira Date: Tue, 7 Mar 2023 14:55:34 +0100 Subject: [PATCH] Fix broken code behind wasm feature flag in blend_modes example (#7945) --- examples/3d/blend_modes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/3d/blend_modes.rs b/examples/3d/blend_modes.rs index 10b779d922..78db84aff9 100644 --- a/examples/3d/blend_modes.rs +++ b/examples/3d/blend_modes.rs @@ -24,7 +24,7 @@ fn main() { // Since this example uses HDR, we must disable MSAA for WASM builds, at least // until WebGPU is ready and no longer behind a feature flag in Web browsers. #[cfg(target_arch = "wasm32")] - app.insert_resource(Msaa { samples: 1 }); // Default is 4 samples (MSAA on) + app.insert_resource(Msaa::Off); app.run(); }