summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-06-03 11:33:59 +0100
committerCarl Hetherington <cth@carlh.net>2019-06-03 11:33:59 +0100
commitc1d3751723c5413eea4b4602ec5ecff5c961038d (patch)
tree72b1f18eb50b7605620059f1b2736d43fede4f6f /src/wx/gl_video_view.cc
parent12096b85415ae72468f2f0591366b8cf3668a604 (diff)
More GL build fixes.
Diffstat (limited to 'src/wx/gl_video_view.cc')
-rw-r--r--src/wx/gl_video_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc
index e1a8523cf..cbd5e23cf 100644
--- a/src/wx/gl_video_view.cc
+++ b/src/wx/gl_video_view.cc
@@ -47,7 +47,7 @@ GLVideoView::GLVideoView (FilmViewer* viewer, wxWindow *parent)
_canvas->Bind (wxEVT_PAINT, boost::bind(&GLVideoView::paint, this));
_canvas->Bind (wxEVT_SIZE, boost::bind(boost::ref(Sized)));
-#ifdef DCPOMATIC_LINUX
+#if defined(DCPOMATIC_LINUX) && defined(DCPOMATIC_HAVE_GLX_SWAP_INTERVAL_EXT)
if (_canvas->IsExtensionSupported("GLX_EXT_swap_control")) {
/* Enable vsync */
Display* dpy = wxGetX11Display();