Browse Source

Fix for a 32-bit build problem in MovieComponent

tags/2021-05-28
jules 8 years ago
parent
commit
511fe482e8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_video/native/juce_mac_MovieComponent.mm

+ 1
- 1
modules/juce_video/native/juce_mac_MovieComponent.mm View File

@@ -42,7 +42,7 @@ struct MovieComponent::Pimpl
auto frame = CGRectMake (0, 0, nativeSize.width, nativeSize.height);
view = [[NSView alloc] initWithFrame: frame];
view = [[NSView alloc] initWithFrame: NSRectFromCGRect (frame)];
[view setHidden: NO];
[view setNeedsDisplay: YES];
[view setWantsLayer: YES];


Loading…
Cancel
Save