mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
Fix broken code behind wasm feature flag in blend_modes example (#7945)
This commit is contained in:
parent
c09a9f0c73
commit
f3cf734659
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
|
// 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.
|
// until WebGPU is ready and no longer behind a feature flag in Web browsers.
|
||||||
#[cfg(target_arch = "wasm32")]
|
#[cfg(target_arch = "wasm32")]
|
||||||
app.insert_resource(Msaa { samples: 1 }); // Default is 4 samples (MSAA on)
|
app.insert_resource(Msaa::Off);
|
||||||
|
|
||||||
app.run();
|
app.run();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue