summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-06-03 16:36:42 +0100
committerCarl Hetherington <cth@carlh.net>2019-06-03 16:36:42 +0100
commitcde85356d0f13c5e41b38484dbeb7516eeeee774 (patch)
treef8ae412afd8bddda7c2eab662621654888eb3b9a
parent85f34539ee3ad5427688ef5c470f99d3dc62debd (diff)
Attempted Windows GL fixes.
-rw-r--r--src/wx/gl_video_view.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc
index 52d39b571..400e69c63 100644
--- a/src/wx/gl_video_view.cc
+++ b/src/wx/gl_video_view.cc
@@ -31,12 +31,19 @@
#include <OpenGL/glext.h>
#include <OpenGL/CGLTypes.h>
#include <OpenGL/OpenGL.h>
-#else
+#endif
+
+#ifdef DCPOMATIC_LINUX
#include <GL/glu.h>
#include <GL/glext.h>
#include <GL/glxext.h>
#endif
+#ifdef DCPOMATIC_WINDOWS
+#include <GL/glu.h>
+#include <GL/glext.h>
+#endif
+
using std::cout;
using boost::shared_ptr;
using boost::optional;