--- a/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m Sat Oct 01 02:49:40 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m Sat Oct 01 03:06:51 2011 +0200
@@ -90,6 +90,7 @@
SDL_iPhoneKeyboardHide((SDL_Window *)HW_getSDLWindow());
+ /*
if (shouldTakeScreenshot) {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Please wait"
message:nil
@@ -107,6 +108,7 @@
// all these hacks because of the PAUSE caption on top of everything...
[self performSelector:@selector(saveCurrentScreenToPhotoAlbum:) withObject:alert afterDelay:0.3];
}
+ */
shouldTakeScreenshot = NO;
}
@@ -192,6 +194,7 @@
}
//TODO: check this is still needed since we switched to SDL_GL_CreateContext()
+/*
#pragma mark -
#pragma mark save screenshot
//by http://www.bit-101.com/blog/?p=1861
@@ -247,6 +250,6 @@
// add callback for cleaning memory and removing alert
UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), (void *)alert);
}
-
+*/
@end