1
1
mirror of https://github.com/neosubhamoy/neodlp.git synced 2026-03-22 15:05:48 +05:30

fix: unable to create app window on wayland with nvidia gpu

This commit is contained in:
2026-02-10 21:23:50 +05:30
Verified
parent 2d82e3404d
commit b1c176cba3
5 changed files with 632 additions and 493 deletions

View File

@@ -3,5 +3,12 @@
#[tokio::main]
async fn main() {
#[cfg(target_os = "linux")]
{
if std::env::var("WEBKIT_DISABLE_DMABUF_RENDERER").is_err() {
std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
}
}
neodlp_lib::run().await
}