Skip to content

Commit

Permalink
fix: try to set env
Browse files Browse the repository at this point in the history
  • Loading branch information
MystiPanda committed May 3, 2024
1 parent 4a6b12e commit 7edd7f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ fn main() -> std::io::Result<()> {
return Ok(());
}

#[cfg(target_os = "linux")]
std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");

crate::log_err!(init::init_config());

#[allow(unused_mut)]
Expand Down

0 comments on commit 7edd7f2

Please sign in to comment.