diff options
| author | Anton <anton@picapica.im> | 2026-11-27 05:23:02 +0400 |
|---|---|---|
| committer | Anton <anton@picapica.im> | 2026-11-27 05:23:02 +0400 |
| commit | 0fc689fc8bcef54a91915f46ab29dc86d293e957 (patch) | |
| tree | 0db8b51330661bb2a4e89f54b3cf229f75673bc1 /pica-client/main.cpp | |
| parent | cf57b9c33311a646611599f9f9dca1f4523451be (diff) | |
| download | pica-pica-0fc689fc8bcef54a91915f46ab29dc86d293e957.tar.gz pica-pica-0fc689fc8bcef54a91915f46ab29dc86d293e957.zip | |
pica-client: use EGL by default in X11 sessions to prevent deadlock on Mesa drivers
Diffstat (limited to 'pica-client/main.cpp')
| -rw-r--r-- | pica-client/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pica-client/main.cpp b/pica-client/main.cpp index 477fa10..56d0092 100644 --- a/pica-client/main.cpp +++ b/pica-client/main.cpp @@ -520,6 +520,7 @@ int main(int argc, char *argv[]) // Before Qt opens its X connection, which is the only time Xlib will // listen - see the comment on the function itself. VaapiContext::initX11Threading(); + VaapiContext::preferEglOnX11(); #endif QApplication a(argc, argv); |
