mirror of
https://github.com/godotengine/godot.git
synced 2024-11-15 00:23:27 +00:00
Fix crash on iOS devices during rotate
This commit is contained in:
parent
a1fcac6400
commit
973a4fe50f
@ -337,12 +337,9 @@ static void clear_touches() {
|
||||
// the same size as our display area.
|
||||
|
||||
- (void)layoutSubviews {
|
||||
//printf("HERE\n");
|
||||
[EAGLContext setCurrentContext:context];
|
||||
[self destroyFramebuffer];
|
||||
[self createFramebuffer];
|
||||
[self drawView];
|
||||
[self drawView];
|
||||
}
|
||||
|
||||
- (BOOL)createFramebuffer {
|
||||
|
Loading…
Reference in New Issue
Block a user