summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-10-21 00:55:52 +0200
committerCarl Hetherington <cth@carlh.net>2020-01-08 21:56:47 +0100
commit5eb8b5c3a1566aef638e9d9df03b88d320735092 (patch)
treeeb33df0144e1784efcf5d46e0dca9e19f6bff8b8 /src/tools/dcpomatic.cc
parentca3393a75c1685d1615ff678b58bd3b75fe79cd2 (diff)
Barely-functioning GL playback with new arrangement.
Diffstat (limited to 'src/tools/dcpomatic.cc')
-rw-r--r--src/tools/dcpomatic.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index 68bf20732..47851a218 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -92,6 +92,9 @@
#include <wx/preferences.h>
#include <wx/splash.h>
#include <wx/wxhtml.h>
+#ifdef __WXGTK__
+#include <X11/Xlib.h>
+#endif
#ifdef __WXMSW__
#include <shellapi.h>
#endif
@@ -1503,7 +1506,11 @@ public:
: wxApp ()
, _frame (0)
, _splash (0)
- {}
+ {
+#ifdef DCPOMATIC_LINUX
+ XInitThreads ();
+#endif
+ }
private: