From 77db5fde66d0946103f544e17ebbcc748bf6fb56 Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 27 Feb 2019 09:35:39 +0000 Subject: [PATCH] Windows: Fix a double definition warning for juce_shouldDoubleScaleNativeGLWindow() when not building any VSTs --- .../juce_audio_plugin_client/utility/juce_PluginUtilities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp b/modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp index e9309be639..2665048b06 100644 --- a/modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp +++ b/modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp @@ -44,7 +44,7 @@ std::function PluginHostType::jucePlugInIsRunningInAudioS bool juce_isRunningInUnity() { return PluginHostType::getPluginLoadedAs() == AudioProcessor::wrapperType_Unity; } #endif -#if JUCE_MODULE_AVAILABLE_juce_opengl +#if JUCE_MODULE_AVAILABLE_juce_opengl && (JucePlugin_Build_VST || JucePlugin_Build_VST3) bool juce_shouldDoubleScaleNativeGLWindow() { auto wrapperType = PluginHostType::getPluginLoadedAs();