diff --git a/modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp b/modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp index 2665048b06..9b5ab3706e 100644 --- a/modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp +++ b/modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp @@ -48,9 +48,12 @@ std::function PluginHostType::jucePlugInIsRunningInAudioS bool juce_shouldDoubleScaleNativeGLWindow() { auto wrapperType = PluginHostType::getPluginLoadedAs(); + auto hostType = getHostType().type; - if (wrapperType == AudioProcessor::wrapperType_VST || wrapperType == AudioProcessor::wrapperType_VST3) - return getHostType().type == PluginHostType::SteinbergCubase10; + if (wrapperType == AudioProcessor::wrapperType_VST) + return hostType == PluginHostType::SteinbergCubase10 || hostType == PluginHostType::AbletonLive10; + else if (wrapperType == AudioProcessor::wrapperType_VST3) + return hostType == PluginHostType::SteinbergCubase10; return false; }