From 8003da77aa5141df149988cc458a27969affc9b1 Mon Sep 17 00:00:00 2001 From: michi_cc Date: Mon, 5 Aug 2013 20:36:13 +0000 Subject: (svn r25665) -Fix [FS#4689]: [OSX] Crash when unhiding the main window. --- src/video/cocoa/cocoa_v.mm | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/video/cocoa') diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm index f3e68b0ce..8e7b7824e 100644 --- a/src/video/cocoa/cocoa_v.mm +++ b/src/video/cocoa/cocoa_v.mm @@ -649,18 +649,12 @@ void cocoaReleaseAutoreleasePool() - (void)appWillUnhide:(NSNotification*)note { driver->SetPortAlphaOpaque (); - - /* save current visible surface */ - [ self cacheImageInRect:[ driver->cocoaview frame ] ]; } /** * Unhide and restore display plane and re-activate driver */ - (void)appDidUnhide:(NSNotification*)note { - /* restore cached image, since it may not be current, post expose event too */ - [ self restoreCachedImage ]; - driver->active = true; } /** -- cgit v1.2.3-70-g09d2