diff --git a/src/params.rs b/src/params.rs index f2741b3..60f2f9a 100644 --- a/src/params.rs +++ b/src/params.rs @@ -145,7 +145,7 @@ impl Default for BlackHoleParams { skybox_intensity: 0.0, // procedural stars only by default planet_count: 0, spin: 0.0, - star_aa: if cfg!(target_arch = "wasm32") { false } else { true }, + star_aa: !cfg!(target_arch = "wasm32"), bloom_threshold: 1.0, bloom_strength: 0.8, exposure: 1.0, diff --git a/src/render/plugin.rs b/src/render/plugin.rs index 713e198..b441e4b 100644 --- a/src/render/plugin.rs +++ b/src/render/plugin.rs @@ -419,7 +419,7 @@ fn spawn_bloom_pipeline( /// Recreate the offscreen Image and rescale both quads on window resize, /// honoring the live `render_scale` param. -#[allow(clippy::type_complexity)] +#[allow(clippy::type_complexity, clippy::too_many_arguments)] fn resize_offscreen( mut images: ResMut>, params: Res,