diff --git a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp index c00cf98995..61df829766 100644 --- a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp @@ -3084,9 +3084,8 @@ private: pluginRespondsToDPIChanges = plugin.pluginCanDo ("supportsViewDpiScaling") > 0; - if (pluginRespondsToDPIChanges) - if (auto* peer = getTopLevelComponent()->getPeer()) - setScaleFactorAndDispatchMessage (peer->getPlatformScaleFactor()); + if (auto* peer = getTopLevelComponent()->getPeer()) + setScaleFactorAndDispatchMessage (peer->getPlatformScaleFactor()); #if JUCE_WINDOWS && JUCE_WIN_PER_MONITOR_DPI_AWARE std::unique_ptr dpiDisabler;