mirror of https://github.com/mpv-player/mpv
cocoa: fix build on 10.9
Use -isInFullScreenMode instead of the property introduced with the 10.10 SDK.
This commit is contained in:
parent
f3e515c790
commit
1eb4e90161
|
@ -94,7 +94,7 @@
|
|||
|
||||
- (void)clear
|
||||
{
|
||||
if (self.inFullScreenMode) {
|
||||
if ([self isInFullScreenMode]) {
|
||||
self.clearing = YES;
|
||||
[self exitFullScreenModeWithOptions:nil];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue