Browse Source

Windows: Fix a double definition warning for juce_shouldDoubleScaleNativeGLWindow() when not building any VSTs

tags/2021-05-28
ed 6 years ago
parent
commit
77db5fde66
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp

+ 1
- 1
modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp View File

@@ -44,7 +44,7 @@ std::function<bool(AudioProcessor&)> 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();


Loading…
Cancel
Save