mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
cmd/ebitenmobile: Ensure that frame-update never happens on background
This commit is contained in:
parent
af3b7117c3
commit
31e0721973
@ -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
Loading…
Reference in New Issue
Block a user