cmd/ebitenmobile: Refactoring

This commit is contained in:
Hajime Hoshi 2019-09-13 03:26:13 +09:00
parent 16337bb6bf
commit af3b7117c3
2 changed files with 7 additions and 8 deletions

View File

@ -176,6 +176,12 @@ const objcM = `// Code generated by ebitenmobile. DO NOT EDIT.
}
- (void)drawFrame{
@synchronized(self) {
if (!active_) {
return;
}
}
[[self glkView] setNeedsDisplay];
}
@ -183,13 +189,6 @@ const objcM = `// Code generated by ebitenmobile. DO NOT EDIT.
if (error_) {
return;
}
@synchronized(self) {
if (!active_) {
return;
}
}
NSError* err = nil;
EbitenmobileviewUpdate(&err);
if (err != nil) {

File diff suppressed because one or more lines are too long