Skip to content

Commit acdf864

Browse files
committed
default WEBKIT_DISABLE_DMABUF_RENDERER disable
1 parent bfecade commit acdf864

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src-tauri/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,11 @@ pub fn run() {
374374
FILE_LOG_LEVEL.store(file_log_level.to_level_filter() as u8, Ordering::Relaxed);
375375
let app_handle = app.handle().clone();
376376

377+
#[cfg(target_os = "linux")]
378+
{
379+
std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
380+
}
381+
377382
initialize_core_logic(&app_handle);
378383

379384
// Show main window only if not starting hidden

0 commit comments

Comments
 (0)