summaryrefslogtreecommitdiffstats
path: root/src/application.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-03-25 11:41:52 +0100
committerLibravatar GitHub <noreply@github.com>2021-03-25 11:41:52 +0100
commitbf09f44d56ce097600f939c19d8c149c0cc4c1b1 (patch)
tree7010fec72aefa97a329eb4b29667e102017114dd /src/application.rs
parent2b520ca0984486d3ad930873837df8c819bab30c (diff)
parent883c7e71ae699a29c23b8f95b7335d015e5a985d (diff)
downloadiced-bf09f44d56ce097600f939c19d8c149c0cc4c1b1.tar.gz
iced-bf09f44d56ce097600f939c19d8c149c0cc4c1b1.tar.bz2
iced-bf09f44d56ce097600f939c19d8c149c0cc4c1b1.zip
Merge pull request #789 from Cupnfish/master
Add WGPU_BACKEND environment variable
Diffstat (limited to 'src/application.rs')
-rw-r--r--src/application.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.rs b/src/application.rs
index 4c6d5b7f..83ce900a 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -206,7 +206,7 @@ pub trait Application: Sized {
} else {
None
},
- ..crate::renderer::Settings::default()
+ ..crate::renderer::Settings::from_env()
};
Ok(crate::runtime::application::run::<