summaryrefslogtreecommitdiffstats
path: root/platform/iphone/gl_view.mm
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2019-10-24 17:34:18 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2019-10-24 20:37:56 +0300
commit7b64340eb008a11000518b9a15f15c673c7f2f25 (patch)
treedbc6b4fe838aadee91bbad208f9af153756e4d1d /platform/iphone/gl_view.mm
parent79dae3a87e1c8a66897fc1816059f39c8f25cde4 (diff)
downloadredot-engine-7b64340eb008a11000518b9a15f15c673c7f2f25.tar.gz
Fix compilation warnings in macOS build, enable `warnings=extra werror=yes` for macOS CI.
Diffstat (limited to 'platform/iphone/gl_view.mm')
-rw-r--r--platform/iphone/gl_view.mm36
1 files changed, 0 insertions, 36 deletions
diff --git a/platform/iphone/gl_view.mm b/platform/iphone/gl_view.mm
index dfca2e3dd7..2ac158e6d3 100644
--- a/platform/iphone/gl_view.mm
+++ b/platform/iphone/gl_view.mm
@@ -729,40 +729,4 @@ static void clear_touches() {
_stop_video();
}
-/*
-- (void)moviePlayBackDidFinish:(NSNotification*)notification {
-
-
- NSNumber* reason = [[notification userInfo] objectForKey:MPMoviePlayerPlaybackDidFinishReasonUserInfoKey];
- switch ([reason intValue]) {
- case MPMovieFinishReasonPlaybackEnded:
- //NSLog(@"Playback Ended");
- break;
- case MPMovieFinishReasonPlaybackError:
- //NSLog(@"Playback Error");
- video_found_error = true;
- break;
- case MPMovieFinishReasonUserExited:
- //NSLog(@"User Exited");
- video_found_error = true;
- break;
- default:
- //NSLog(@"Unsupported reason!");
- break;
- }
-
- MPMoviePlayerController *player = [notification object];
-
- [[NSNotificationCenter defaultCenter]
- removeObserver:self
- name:MPMoviePlayerPlaybackDidFinishNotification
- object:player];
-
- [_instance.moviePlayerController stop];
- [_instance.moviePlayerController.view removeFromSuperview];
-
- video_playing = false;
-}
-*/
-
@end