1
0
mirror of https://github.com/Relintai/sdl2_frt.git synced 2025-04-12 10:42:01 +02:00

The default implementation of [view layoutSubviews] actually does something in iOS 6+, so we should call [super layoutSubviews] when overriding it.

This commit is contained in:
Alex Szpakowski 2014-07-21 02:46:53 -03:00
parent e234575d54
commit e02e34521a

View File

@ -212,6 +212,8 @@
- (void)layoutSubviews
{
[super layoutSubviews];
[EAGLContext setCurrentContext:context];
[self updateFrame];
}