aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/iphone_video.mm
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/iphone/iphone_video.mm')
-rw-r--r--backends/platform/iphone/iphone_video.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/iphone/iphone_video.mm b/backends/platform/iphone/iphone_video.mm
index 5b8d28e819..5b78237ff7 100644
--- a/backends/platform/iphone/iphone_video.mm
+++ b/backends/platform/iphone/iphone_video.mm
@@ -234,8 +234,6 @@ const char *iPhone_getDocumentsDir() {
}
- (void)dealloc {
- [super dealloc];
-
if (_keyboardView != nil) {
[_keyboardView dealloc];
}
@@ -243,6 +241,8 @@ const char *iPhone_getDocumentsDir() {
_videoContext.screenTexture.free();
_videoContext.overlayTexture.free();
_videoContext.mouseTexture.free();
+
+ [super dealloc];
}
- (void)drawRect:(CGRect)frame {