Browse Source

Fixed a couple of compile errors.

tags/2021-05-28
jules 12 years ago
parent
commit
52378249d1
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp
  2. +1
    -1
      modules/juce_video/native/juce_win32_DirectShowComponent.cpp

+ 1
- 1
modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp View File

@@ -2046,7 +2046,7 @@ public:
{
if (ComponentPeer* const peer = getPeer())
{
peer->addMaskedRegion (getScreenBounds() - peer->getScreenPosition());
peer->addMaskedRegion (peer->globalToLocal (getScreenBounds()));
#if JUCE_LINUX
if (pluginWindow != 0)


+ 1
- 1
modules/juce_video/native/juce_win32_DirectShowComponent.cpp View File

@@ -802,7 +802,7 @@ void DirectShowComponent::paint (Graphics& g)
context->handleUpdateNowIfNeeded();
if (ComponentPeer* const peer = getPeer())
peer->addMaskedRegion (getScreenBounds() - peer->getScreenPosition());
peer->addMaskedRegion (peer->globalToLocal (getScreenBounds()));
}
else
{


Loading…
Cancel
Save