Skip to content

Commit

Permalink
The default implementation of [view layoutSubviews] actually does som…
Browse files Browse the repository at this point in the history
…ething in iOS 6+, so we should call [super layoutSubviews] when overriding it.
  • Loading branch information
slime73 committed Jul 21, 2014
1 parent e234575 commit e02e345
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/uikit/SDL_uikitopenglview.m
Expand Up @@ -212,6 +212,8 @@ - (void)swapBuffers

- (void)layoutSubviews
{
[super layoutSubviews];

[EAGLContext setCurrentContext:context];
[self updateFrame];
}
Expand Down

0 comments on commit e02e345

Please sign in to comment.