summaryrefslogtreecommitdiff
path: root/src/wx/system_information_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-06-03 10:49:49 +0100
committerCarl Hetherington <cth@carlh.net>2019-06-03 10:49:49 +0100
commit12096b85415ae72468f2f0591366b8cf3668a604 (patch)
tree80417681339bd78fc3a7b6666a017627a67014d1 /src/wx/system_information_dialog.cc
parent5495f1b4a9898526da6786b8161bb398d5cfe5bd (diff)
Fix some build failures due to GL stuff.
Diffstat (limited to 'src/wx/system_information_dialog.cc')
-rw-r--r--src/wx/system_information_dialog.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/system_information_dialog.cc b/src/wx/system_information_dialog.cc
index 263083365..894239b65 100644
--- a/src/wx/system_information_dialog.cc
+++ b/src/wx/system_information_dialog.cc
@@ -42,5 +42,11 @@ SystemInformationDialog::SystemInformationDialog (wxWindow* parent)
add (_("unknown (OpenGL not enabled in DCP-o-matic)"), false);
}
+ add (_("vsync"), true);
+#if !defined(DCPOMATIC_LINUX) || defined(DCPOMATIC_HAVE_GLX_SWAP_INTERVAL_EXT)
+ add (_("enabled"), false);
+#else
+ add (_("disabled"), false);
+#endif
layout ();
}