mirror of
https://github.com/yawut/SDL.git
synced 2026-07-09 05:05:26 -05:00
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
This commit is contained in:
parent
112da3a04e
commit
d8df823b06
|
|
@ -212,6 +212,8 @@
|
|||
|
||||
- (void)layoutSubviews
|
||||
{
|
||||
[super layoutSubviews];
|
||||
|
||||
[EAGLContext setCurrentContext:context];
|
||||
[self updateFrame];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user