aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <[email protected]>2024-07-21 19:27:11 -0400
committerLibravatar Silas Bartha <[email protected]>2024-07-21 19:27:11 -0400
commit56aee7bc7c5ee71de8e5d6997e877759b5d9e9b7 (patch)
treecaa87a9af161fdfc795dfe197054b189ebdfacbf /src/lib.rs
parent347594e4217c8947dfae0faf888f1ded7c0329e5 (diff)
Update to 0.14 + Add 0BSD option0.2
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 28eecd8..0f69fd3 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -33,7 +33,7 @@ impl Plugin for DitherPostProcessPlugin {
app.add_plugins((ExtractComponentPlugin::<DitherPostProcessSettings>::default(),));
- let Ok(render_app) = app.get_sub_app_mut(RenderApp) else {
+ let Some(render_app) = app.get_sub_app_mut(RenderApp) else {
return;
};
@@ -53,7 +53,7 @@ impl Plugin for DitherPostProcessPlugin {
}
fn finish(&self, app: &mut App) {
- let Ok(render_app) = app.get_sub_app_mut(RenderApp) else {
+ let Some(render_app) = app.get_sub_app_mut(RenderApp) else {
return;
};