changeset 20690:f866c42de03d draft

-Fix [FS#4689]: [OSX] Crash when unhiding the main window.
author Michael Lutz <michi@icosahedron.de>
date Fri, 08 Mar 2013 02:24:40 +0100
parents dc0d0d726c8f
children db5bb913dedf
files src/video/cocoa/cocoa_v.mm
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/cocoa/cocoa_v.mm
+++ b/src/video/cocoa/cocoa_v.mm
@@ -649,18 +649,12 @@
 - (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;
 }
 /**