mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +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
|
return theUI
|
||||||
}
|
}
|
||||||
|
|
||||||
func (u *UserInterface) Render() {
|
func (u *UserInterface) Update() {
|
||||||
renderCh <- struct{}{}
|
renderCh <- struct{}{}
|
||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
go func() {
|
go func() {
|
||||||
|
@ -38,6 +38,6 @@ func update() error {
|
|||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
|
||||||
mobile.Get().Render()
|
mobile.Get().Update()
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user