[vlc-commits] macosx: use optimized drawing for the main window as well ( in addition to the detached vout window)

Felix Paul Kühne git at videolan.org
Sun Apr 1 20:20:10 CEST 2012


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr  1 20:19:44 2012 +0200| [cd275b2ee7fb9f647b40a64d03ed336bdf67970f] | committer: Felix Paul Kühne

macosx: use optimized drawing for the main window as well (in addition to the detached vout window)
(cherry picked from commit ca0752e4ff27c29b63f95f579378a4c1fa983488)

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

 modules/gui/macosx/MainWindow.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index d4e52fa..76f5b57 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -131,6 +131,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 #endif
     i_lastShownVolume = -1;
     t_hide_mouse_timer = nil;
+    [self useOptimizedDrawing: YES];
 
     [o_play_btn setToolTip: _NS("Play/Pause")];
     [o_detached_play_btn setToolTip: [o_play_btn toolTip]];



More information about the vlc-commits mailing list