diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-10-21 00:55:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-01-08 21:56:47 +0100 |
| commit | 5eb8b5c3a1566aef638e9d9df03b88d320735092 (patch) | |
| tree | eb33df0144e1784efcf5d46e0dca9e19f6bff8b8 /src/tools/dcpomatic.cc | |
| parent | ca3393a75c1685d1615ff678b58bd3b75fe79cd2 (diff) | |
Barely-functioning GL playback with new arrangement.
Diffstat (limited to 'src/tools/dcpomatic.cc')
| -rw-r--r-- | src/tools/dcpomatic.cc | 9 |
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: |
