diff --git a/internal/uidriver/mobile/ui.go b/internal/uidriver/mobile/ui.go index 5c6e8f5ca..25c33323d 100644 --- a/internal/uidriver/mobile/ui.go +++ b/internal/uidriver/mobile/ui.go @@ -57,7 +57,7 @@ func Get() *UserInterface { return theUI } -func (u *UserInterface) Render() { +func (u *UserInterface) Update() { renderCh <- struct{}{} ctx, cancel := context.WithCancel(context.Background()) go func() { diff --git a/mobile/ebitenmobileview/impl_mobile.go b/mobile/ebitenmobileview/impl_mobile.go index 08abd0b44..87e719602 100644 --- a/mobile/ebitenmobileview/impl_mobile.go +++ b/mobile/ebitenmobileview/impl_mobile.go @@ -38,6 +38,6 @@ func update() error { default: } - mobile.Get().Render() + mobile.Get().Update() return nil }