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

Another OSX 32-bit build fix in MovieComponent

This commit is contained in:
jules 2017-02-02 11:53:21 +00:00
parent 511fe482e8
commit cd5604c071

View file

@ -216,7 +216,7 @@ void MovieComponent::resized()
JUCE_AUTORELEASEPOOL
{
auto frame = CGRectMake (0, 0, (CGFloat) getWidth(), (CGFloat) getHeight());
[pimpl->view setFrame: frame];
[pimpl->view setFrame: NSRectFromCGRect (frame)];
[pimpl->playerLayer setFrame: frame];
}
}