Browse Source

macOS: Fixed some unused variable warnings in the VST3 wrapper

tags/2021-05-28
ed 5 years ago
parent
commit
0ae768d0d1
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp

+ 6
- 4
modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp View File

@@ -956,7 +956,9 @@ private:
std::atomic<bool> vst3IsPlaying { false },
inSetupProcessing { false };
#if ! JUCE_MAC
float lastScaleFactorReceived = 1.0f;
#endif
void setupParameters()
{
@@ -1513,12 +1515,12 @@ private:
};
std::unique_ptr<Cubase10WindowResizeWorkaround> cubase10Workaround;
#endif
#else
float editorScaleFactor = 1.0f;
#if JUCE_WINDOWS
WindowsHooks hooks;
#if JUCE_WINDOWS
WindowsHooks hooks;
#endif
#endif
//==============================================================================


Loading…
Cancel
Save