From 220561089064d0c91487f31219b1a92a3fd65928 Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Mon, 18 Mar 2024 16:01:36 -0400 Subject: [PATCH] use `wgpu` backend Both `glow` and `wgpu` seem to crash (at least in this version of `eframe/egui`). It's a pick your poison thing but it seems wgpu crashing is less common. --- Cargo.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 62e0389..868e8b0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,11 @@ dirs = "5.0.1" egui = "0.24.1" egui_extras = { version = "0.24.1", features = ["image"] } ## 2023-12-28: https://github.com/hinto-janai/gupax/issues/68 -eframe = { version = "0.24.1", default-features = false, features = ["glow"] } +## +## 2024-03-18: Both `glow` and `wgpu` seem to crash: +## +## `wgpu` seems to crash on less computers though so... +eframe = { version = "0.24.1", default-features = false, features = ["wgpu"] } ## 2023-02-06: The below gets fixed by using the [wgpu] backend instead of [glow] ## It also fixes crashes on CPU-based graphics. Only used for Windows. @@ -99,7 +103,6 @@ lzma-sys = { version = "0.1.20", features = ["static"] } [target.'cfg(not(target_os = "macos"))'.dependencies] tls-api-native-tls = "0.9.0" -## [wgpu] backend # Windows dependencies [target.'cfg(windows)'.dependencies]