Commit 109baaa5 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

macosx: optimized drawing is gone in macOS 10.10

There is no modern counterpart as it is no longer needed within the new window server
parent 904e3843
......@@ -152,10 +152,6 @@ static const float f_min_window_height = 307.;
[self setDelegate:self];
[self setRestorable:NO];
// TODO: useOptimizedDrawing deprecated since 10.10, but no
// documentation provided what do use instead.
// see radar://23047516
[self useOptimizedDrawing:YES];
[self setExcludedFromWindowsMenu:YES];
[self setAcceptsMouseMovedEvents:YES];
[self setFrameAutosaveName:@"mainwindow"];
......@@ -283,7 +283,6 @@ void WindowClose(vout_window_t *p_wnd)
[newVideoWindow setCanBecomeMainWindow: !videoWallpaper];
[newVideoWindow setAcceptsMouseMovedEvents: !videoWallpaper];
[newVideoWindow setMovableByWindowBackground: !videoWallpaper];
[newVideoWindow useOptimizedDrawing: YES];
voutView = [[VLCVoutView alloc] initWithFrame:[[newVideoWindow contentView] bounds]];
[voutView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
......@@ -324,7 +323,6 @@ void WindowClose(vout_window_t *p_wnd)
[newVideoWindow setDelegate: newVideoWindow];
[newVideoWindow setLevel:NSNormalWindowLevel];
[newVideoWindow useOptimizedDrawing: YES];
voutView = [newVideoWindow videoView];
isEmbedded = NO;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment