diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-09-24 09:17:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-24 09:17:54 +0200 |
commit | 1ecdd5b5ccc2e3db8250a305306c6e3084703990 (patch) | |
tree | 5ad214dfbadb21f3f0e5024177cc69835d689486 | |
parent | 0ea54eeb0672c405d7ad0edf8444f0d86158f8b6 (diff) | |
parent | 973a4fe50f9dfd67f3cf4f81b912853fd80992a6 (diff) |
Merge pull request #32194 from AlexRixhardson/fix-7945
Fixes crash described in issue 7945 (Duplicated [self drawView] in iphone gl_view)
-rw-r--r-- | platform/iphone/gl_view.mm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/iphone/gl_view.mm b/platform/iphone/gl_view.mm index 4641b2c4ac..dfca2e3dd7 100644 --- a/platform/iphone/gl_view.mm +++ b/platform/iphone/gl_view.mm @@ -337,12 +337,9 @@ static void clear_touches() { // the same size as our display area. - (void)layoutSubviews { - //printf("HERE\n"); [EAGLContext setCurrentContext:context]; [self destroyFramebuffer]; [self createFramebuffer]; - [self drawView]; - [self drawView]; } - (BOOL)createFramebuffer { |