gui: eframe default features, add wgpu dep, try wgpu on windows error

Reviewed-on: https://code.gri.mw/GUI/grim/pulls/34
This commit is contained in:
ardocrat
2026-01-19 21:52:33 +01:00
parent 0713ba0213
commit 00f8eb7d18
3 changed files with 469 additions and 13 deletions
+1 -4
View File
@@ -144,10 +144,7 @@ fn start_desktop_gui(platform: grim::gui::platform::Desktop) {
let app = grim::gui::App::new(platform.clone());
match grim::start(options.clone(), grim::app_creator(app)) {
Ok(_) => {}
Err(e) => {
if is_win {
panic!("{}", e);
}
Err(_) => {
// Start with another renderer on error.
options.renderer = eframe::Renderer::Wgpu;