DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 354bea632df964ff598fd8dc23bcbfa3ae64abac
parent 05d91f5852f4bccfd2bce1d4d2e2b3036e29db03
Author: falkTX <falktx@falktx.com>
Date:   Sat, 21 Aug 2021 19:36:22 +0100

Set supportsViewDpiScaling as supported canDo

Diffstat:
Mdistrho/src/DistrhoPluginVST2.cpp | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/distrho/src/DistrhoPluginVST2.cpp b/distrho/src/DistrhoPluginVST2.cpp @@ -1004,6 +1004,10 @@ public: return 0xbeef0000; } #endif +#ifndef DISTRHO_OS_MAC + if (std::strcmp(canDo, "supportsViewDpiScaling") == 0) + return 1; +#endif if (std::strcmp(canDo, "receiveVstEvents") == 0 || std::strcmp(canDo, "receiveVstMidiEvent") == 0) #if DISTRHO_PLUGIN_WANT_MIDI_INPUT