summaryrefslogtreecommitdiffstats
path: root/pica-client/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client/main.cpp')
-rw-r--r--pica-client/main.cpp1
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);