1
0
Fork 0

(svn r25665) -Fix [FS#4689]: [OSX] Crash when unhiding the main window.

release/1.4
michi_cc 2013-08-05 20:36:13 +00:00
parent 1ae357e905
commit 8003da77aa
1 changed files with 0 additions and 6 deletions

View File

@ -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;
}
/**