summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
Diffstat (limited to 'src/video')
-rw-r--r--src/video/cocoa/cocoa_v.mm6
1 files changed, 0 insertions, 6 deletions
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;
}
/**