mirror of
https://github.com/encounter/SDL.git
synced 2025-12-10 05:57:44 +00: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:
@@ -212,6 +212,8 @@
|
|||||||
|
|
||||||
- (void)layoutSubviews
|
- (void)layoutSubviews
|
||||||
{
|
{
|
||||||
|
[super layoutSubviews];
|
||||||
|
|
||||||
[EAGLContext setCurrentContext:context];
|
[EAGLContext setCurrentContext:context];
|
||||||
[self updateFrame];
|
[self updateFrame];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user