cmd/ebitenmobile: Ensure that frame-update never happens on background

This commit is contained in:
Hajime Hoshi 2019-09-13 11:47:45 +09:00
parent af3b7117c3
commit 31e0721973
2 changed files with 3 additions and 3 deletions

View File

@ -180,10 +180,10 @@ const objcM = `// Code generated by ebitenmobile. DO NOT EDIT.
if (!active_) { if (!active_) {
return; return;
} }
}
[[self glkView] setNeedsDisplay]; [[self glkView] setNeedsDisplay];
} }
}
- (void)glkView:(GLKView*)view drawInRect:(CGRect)rect { - (void)glkView:(GLKView*)view drawInRect:(CGRect)rect {
if (error_) { if (error_) {

File diff suppressed because one or more lines are too long