From 16902191b12e04a443624ce6018565d62910e59f Mon Sep 17 00:00:00 2001 From: Artem Date: Sat, 21 Dec 2024 01:09:09 +0100 Subject: [PATCH] use wgpu's Backends::PRIMARY instead of Backends::all() --- wgpu/src/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu/src/settings.rs b/wgpu/src/settings.rs index b3c3cf6ad6..4b30eab3b5 100644 --- a/wgpu/src/settings.rs +++ b/wgpu/src/settings.rs @@ -33,7 +33,7 @@ impl Default for Settings { fn default() -> Settings { Settings { present_mode: wgpu::PresentMode::AutoVsync, - backends: wgpu::Backends::all(), + backends: wgpu::Backends::PRIMARY, default_font: Font::default(), default_text_size: Pixels(16.0), antialiasing: None,