mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Fix broken code behind wasm feature flag in blend_modes example (#7945)
This commit is contained in:
parent
289fd1d0f2
commit
1981b2b862
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue