1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-01 04:31:39 +00:00

cocoa: fix NSMapGet error

regression from 64b6b2ea45
This commit is contained in:
Stefano Pigozzi 2015-01-02 19:17:43 +01:00
parent 44cc65e5fb
commit 43faae7a1e

View File

@ -94,8 +94,10 @@
- (void)clear
{
self.clearing = YES;
[self exitFullScreenModeWithOptions:nil];
if (self.inFullScreenMode) {
self.clearing = YES;
[self exitFullScreenModeWithOptions:nil];
}
}
// mpv uses flipped coordinates, because X11 uses those. So let's just use them