1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fix for a 32-bit build problem in MovieComponent

This commit is contained in:
jules 2017-02-02 10:51:22 +00:00
parent 67600e98fd
commit 511fe482e8

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];