mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-28 02:30:05 +00:00
Windows: Fix a double definition warning for juce_shouldDoubleScaleNativeGLWindow() when not building any VSTs
This commit is contained in:
parent
831448fbb0
commit
77db5fde66
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue