[vlc-commits] macosx: Add todo comment about deprecated method useOptimizedDrawing

Marvin Scholz git at videolan.org
Mon Oct 12 16:28:52 CEST 2015


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Fri Oct  9 17:29:37 2015 +0200| [090e1f80dc30c3fc31480b459b010c9c43c58a06] | committer: Felix Paul Kühne

macosx: Add todo comment about deprecated method useOptimizedDrawing

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=090e1f80dc30c3fc31480b459b010c9c43c58a06
---

 modules/gui/macosx/MainWindow.m |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index a4571c4..c7631b9 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -151,6 +151,9 @@ 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];



More information about the vlc-commits mailing list