From d8df823b06393fcc3b7ee1e5be3d232be4beaebe Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Mon, 21 Jul 2014 02:46:53 -0300 Subject: [PATCH] The default implementation of [view layoutSubviews] actually does something in iOS 6+, so we should call [super layoutSubviews] when overriding it. --HG-- branch : iOS-improvements --- src/video/uikit/SDL_uikitopenglview.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/uikit/SDL_uikitopenglview.m b/src/video/uikit/SDL_uikitopenglview.m index 80335e79b..48f5981e6 100644 --- a/src/video/uikit/SDL_uikitopenglview.m +++ b/src/video/uikit/SDL_uikitopenglview.m @@ -212,6 +212,8 @@ - (void)layoutSubviews { + [super layoutSubviews]; + [EAGLContext setCurrentContext:context]; [self updateFrame]; }