Browse Source

LV2 Host: Remove unused function

pull/22/head
reuk 3 years ago
parent
commit
e8431891a0
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      modules/juce_audio_processors/format_types/juce_LV2PluginFormat.cpp

+ 0
- 8
modules/juce_audio_processors/format_types/juce_LV2PluginFormat.cpp View File

@@ -3171,14 +3171,6 @@ private:
float getEffectiveScale() const { return nativeScaleFactor * userScaleFactor; } float getEffectiveScale() const { return nativeScaleFactor * userScaleFactor; }
float getTopLevelDesktopScale() const
{
if (auto* comp = getTopLevelComponent())
return comp->getDesktopScaleFactor();
return 1.0f;
}
// If possible, try to keep platform-specific handing restricted to the implementation of // If possible, try to keep platform-specific handing restricted to the implementation of
// ViewComponent. Keep the interface of ViewComponent consistent on all platforms. // ViewComponent. Keep the interface of ViewComponent consistent on all platforms.
#if JUCE_LINUX || JUCE_BSD #if JUCE_LINUX || JUCE_BSD


Loading…
Cancel
Save