diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-09-29 12:33:08 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-09-30 00:49:35 +0200 |
| commit | a855b3030e511c130992dec8894e0d96fc811d97 (patch) | |
| tree | 7e22531163d8313747fa6eb8ea743eed116a4956 /src/wx/full_config_dialog.cc | |
| parent | 9751270721fe4560eae0f53ac1e42ad0ebc80028 (diff) | |
Only support GLVideoView when building with wxWidgets >= 3.1.0.
Diffstat (limited to 'src/wx/full_config_dialog.cc')
| -rw-r--r-- | src/wx/full_config_dialog.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc index dcfcf394b..038a75146 100644 --- a/src/wx/full_config_dialog.cc +++ b/src/wx/full_config_dialog.cc @@ -1459,7 +1459,9 @@ private: _maximum_j2k_bandwidth->SetRange (1, 1000); _maximum_j2k_bandwidth->Bind (wxEVT_SPINCTRL, boost::bind (&AdvancedPage::maximum_j2k_bandwidth_changed, this)); _video_display_mode->Append (_("Simple (safer)")); +#if wxCHECK_VERSION(3, 1, 0) _video_display_mode->Append (_("OpenGL (faster)")); +#endif _video_display_mode->Bind (wxEVT_CHOICE, boost::bind(&AdvancedPage::video_display_mode_changed, this)); _allow_any_dcp_frame_rate->Bind (wxEVT_CHECKBOX, boost::bind (&AdvancedPage::allow_any_dcp_frame_rate_changed, this)); _allow_any_container->Bind (wxEVT_CHECKBOX, boost::bind (&AdvancedPage::allow_any_container_changed, this)); |
