diff options
author | Robin Gareus <robin@gareus.org> | 2019-10-28 16:14:30 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-10-28 16:14:30 +0100 |
commit | 1477bca76ec65546af539ab059bab31b49990bd9 (patch) | |
tree | 2ba8d3cd50c893d946231c328d8bb5a5a5b33523 /libs/ardour/lv2_plugin.cc | |
parent | 86337810fe5cf2ebf1f3576378b9f3dc912077a7 (diff) |
Skip X11 LV2UI check on Windows and MacOS
Diffstat (limited to 'libs/ardour/lv2_plugin.cc')
-rw-r--r-- | libs/ardour/lv2_plugin.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 5c19501cdc..6b1dbde4ca 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -851,6 +851,7 @@ LV2Plugin::init(const void* c_plugin, samplecnt_t rate) #ifdef HAVE_SUIL const LilvUI* this_ui = NULL; const LilvNode* this_ui_type = NULL; +#if ! (defined(__APPLE__) || defined(PLATFORM_WINDOWS)) // Always prefer X11 UIs... LILV_FOREACH(uis, i, uis) { const LilvUI* ui = lilv_uis_get(uis, i); @@ -860,6 +861,7 @@ LV2Plugin::init(const void* c_plugin, samplecnt_t rate) break; } } +#endif // then anything else... if (this_ui_type == NULL) { LILV_FOREACH(uis, i, uis) { |