Add editor_disable_host_scaling support for CLAP

This commit is contained in:
Robbert van der Helm
2022-10-01 00:38:17 +02:00
parent 1b875ad286
commit 9e62d9a447
2 changed files with 16 additions and 9 deletions
@@ -236,9 +236,6 @@ clap_plugin_proxy::plugin_get_extension(const struct clap_plugin* plugin,
assert(plugin && plugin->plugin_data && id);
auto self = static_cast<const clap_plugin_proxy*>(plugin->plugin_data);
// TODO: When implementing the GUI option, add a `clap_no_scaling` option to
// disable HiDPI scaling just like we have for VST3. Or rename the
// existing one.
const void* extension_ptr = nullptr;
if (self->supported_extensions_.supports_audio_ports &&
strcmp(id, CLAP_EXT_AUDIO_PORTS) == 0) {