mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
cocoa: don't reset presentation options on uninit
This doesn't look to be needed anymore. Fullscreening with both the NSView and the NSWindow API works correctly. I guess this was forgotten in from older code which changed presentation options directly for going fullscreen.
This commit is contained in:
@@ -164,7 +164,6 @@ void vo_cocoa_uninit(struct vo *vo)
|
||||
struct vo_cocoa_state *s = vo->cocoa;
|
||||
enable_power_management(vo);
|
||||
cocoa_rm_fs_screen_profile_observer(vo);
|
||||
[NSApp setPresentationOptions:NSApplicationPresentationDefault];
|
||||
|
||||
// XXX: It looks like there are some circular retain cycles for the
|
||||
// video view / video window that cause them to not be deallocated,
|
||||
|
||||
Reference in New Issue
Block a user