internal/ui: bug fix: compiie errors on mobiles and browsers

This commit is contained in:
Hajime Hoshi 2022-09-26 00:34:11 +09:00
parent 4a82a109be
commit fa108ca717
3 changed files with 18 additions and 0 deletions

View File

@ -702,3 +702,9 @@ func (u *userInterfaceImpl) Input() *Input {
func (u *userInterfaceImpl) Window() Window {
return &nullWindow{}
}
func (u *userInterfaceImpl) beginFrame() {
}
func (u *userInterfaceImpl) endFrame() {
}

View File

@ -472,3 +472,9 @@ func (u *userInterfaceImpl) ScheduleFrame() {
u.renderRequester.RequestRenderIfNeeded()
}
}
func (u *userInterfaceImpl) beginFrame() {
}
func (u *userInterfaceImpl) endFrame() {
}

View File

@ -144,3 +144,9 @@ func (*userInterfaceImpl) Input() *Input {
func (*userInterfaceImpl) Window() Window {
return &nullWindow{}
}
func (u *userInterfaceImpl) beginFrame() {
}
func (u *userInterfaceImpl) endFrame() {
}