fix: disable dmabuf renderer for linux
This commit is contained in:
parent
12feed96e9
commit
df3bd69141
@ -15,6 +15,12 @@ use crate::commands::{
|
||||
|
||||
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
||||
pub fn run() {
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
unsafe {
|
||||
std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
|
||||
}
|
||||
|
||||
let mut builder = tauri::Builder::default();
|
||||
#[cfg(desktop)]
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user