mirror of
https://github.com/jwinterm/grim.git
synced 2026-10-20 23:28:31 +02:00
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:
+1
-4
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user