mirror of
https://github.com/encounter/objdiff.git
synced 2025-12-13 15:16:17 +00:00
Better graphics backend fallback
This attempts the following in order: - wgpu with user-selected backend - wgpu with automatic backend - glow (fallback OpenGL backend) This should eliminate most issues where objdiff fails to launch.
This commit is contained in:
@@ -36,7 +36,7 @@ pub enum GraphicsBackend {
|
||||
OpenGL,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, serde::Deserialize, serde::Serialize)]
|
||||
#[derive(Clone, Debug, Default, serde::Deserialize, serde::Serialize)]
|
||||
pub struct GraphicsConfig {
|
||||
#[serde(default)]
|
||||
pub desired_backend: GraphicsBackend,
|
||||
|
||||
Reference in New Issue
Block a user