mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
uidriver/mobile: Rename Render -> Update
This commit is contained in:
parent
92e056c508
commit
725cc22200
@ -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() {
|
||||
|
@ -38,6 +38,6 @@ func update() error {
|
||||
default:
|
||||
}
|
||||
|
||||
mobile.Get().Render()
|
||||
mobile.Get().Update()
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user