mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 17:12:36 +00:00
cocoa: fix build on 10.9
Use -isInFullScreenMode instead of the property introduced with the 10.10 SDK.
This commit is contained in:
parent
03a0d74da7
commit
9633790ac6
@ -94,7 +94,7 @@
|
||||
|
||||
- (void)clear
|
||||
{
|
||||
if (self.inFullScreenMode) {
|
||||
if ([self isInFullScreenMode]) {
|
||||
self.clearing = YES;
|
||||
[self exitFullScreenModeWithOptions:nil];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user