[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:19:47 CEST 2012


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

macosx: use optimized drawing for the main window as well (in addition to the detached vout window)

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

 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 ee2ab17..09fb441 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