summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
authorLibravatar DominosCinnaStix <55055940+DominosCinnaStix@users.noreply.github.com>2020-05-14 11:55:26 -0400
committerLibravatar GitHub <noreply@github.com>2020-05-14 11:55:26 -0400
commitcd6064fd84de33bd2ca34575e7a00799a2d237c2 (patch)
tree767b2b30685b08ae64303ee0d266a6807ecce3ee /wgpu
parent7565d294afd668cc95d85f15662d0704962c9614 (diff)
downloadiced-cd6064fd84de33bd2ca34575e7a00799a2d237c2.tar.gz
iced-cd6064fd84de33bd2ca34575e7a00799a2d237c2.tar.bz2
iced-cd6064fd84de33bd2ca34575e7a00799a2d237c2.zip
set wgpu's adapter backend to PRIMARY
Diffstat (limited to 'wgpu')
-rw-r--r--wgpu/src/window/backend.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/window/backend.rs b/wgpu/src/window/backend.rs
index 7e40ae0c..2924ce5d 100644
--- a/wgpu/src/window/backend.rs
+++ b/wgpu/src/window/backend.rs
@@ -28,7 +28,7 @@ impl iced_native::window::Backend for Backend {
},
compatible_surface: None,
},
- wgpu::BackendBit::all(),
+ wgpu::BackendBit::PRIMARY,
)
.await
.expect("Request adapter");