summaryrefslogtreecommitdiff
path: root/libs/ardour/windows_vst_plugin.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-09-29 10:00:23 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2019-10-02 18:04:40 -0600
commitf470d3e856e7dee3c6003aeff0c98005822c5f90 (patch)
tree20b9f2d212195a2a7f04442e4365d6715e05e385 /libs/ardour/windows_vst_plugin.cc
parentbc3b65834991b126843e85618c2f5d1d3c7e9389 (diff)
remove all use of NO_PLUGIN_STATE #ifdef
We determined several years that we should never ever do this, and changed the basis for the free/demo copy because of that.
Diffstat (limited to 'libs/ardour/windows_vst_plugin.cc')
-rw-r--r--libs/ardour/windows_vst_plugin.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ardour/windows_vst_plugin.cc b/libs/ardour/windows_vst_plugin.cc
index dfef082be7..3d1e06c72e 100644
--- a/libs/ardour/windows_vst_plugin.cc
+++ b/libs/ardour/windows_vst_plugin.cc
@@ -106,7 +106,7 @@ std::vector<Plugin::PresetRecord>
WindowsVSTPluginInfo::get_presets (bool user_only) const
{
std::vector<Plugin::PresetRecord> p;
-#ifndef NO_PLUGIN_STATE
+
if (!Config->get_use_lxvst()) {
return p;
}
@@ -130,8 +130,6 @@ WindowsVSTPluginInfo::get_presets (bool user_only) const
}
}
delete t;
-#endif
-
return p;
}