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:
Stefano Pigozzi
2014-10-04 19:10:36 +02:00
parent e75ce6c869
commit 1651d96583

View File

@@ -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,