summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
authorLibravatar Downtime <yrainbxqc@gmail.com>2021-05-14 21:21:25 +0800
committerLibravatar Downtime <yrainbxqc@gmail.com>2021-05-14 21:21:25 +0800
commit88defb65caa70688c47a9d4d2d4f51dd97814e01 (patch)
treeadc4eeddd8afb50bcee635b735a564be1128750f /wgpu
parente6db43987072e62ae146e9b6fe4bc2ef0e519073 (diff)
downloadiced-88defb65caa70688c47a9d4d2d4f51dd97814e01.tar.gz
iced-88defb65caa70688c47a9d4d2d4f51dd97814e01.tar.bz2
iced-88defb65caa70688c47a9d4d2d4f51dd97814e01.zip
update doc
Diffstat (limited to 'wgpu')
-rw-r--r--wgpu/src/settings.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/wgpu/src/settings.rs b/wgpu/src/settings.rs
index 4a1bb322..6c97d895 100644
--- a/wgpu/src/settings.rs
+++ b/wgpu/src/settings.rs
@@ -47,6 +47,7 @@ impl Settings {
/// - `dx11`
/// - `gl`
/// - `webgpu`
+ /// - `primary`
pub fn from_env() -> Self {
Settings {
internal_backend: backend_from_env()