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_player.cc | |
| parent | ca3393a75c1685d1615ff678b58bd3b75fe79cd2 (diff) | |
Barely-functioning GL playback with new arrangement.
Diffstat (limited to 'src/tools/dcpomatic_player.cc')
| -rw-r--r-- | src/tools/dcpomatic_player.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc index f68d0ead2..6bd5b36ff 100644 --- a/src/tools/dcpomatic_player.cc +++ b/src/tools/dcpomatic_player.cc @@ -66,6 +66,9 @@ #include <wx/preferences.h> #include <wx/progdlg.h> #include <wx/display.h> +#ifdef __WXGTK__ +#include <X11/Xlib.h> +#endif #ifdef __WXOSX__ #include <ApplicationServices/ApplicationServices.h> #endif @@ -1044,7 +1047,11 @@ public: App () : wxApp () , _frame (0) - {} + { +#ifdef DCPOMATIC_LINUX + XInitThreads (); +#endif + } private: |
