mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
parent
12f42544dd
commit
909f2fe492
@ -728,11 +728,15 @@ func (u *userInterfaceImpl) createWindow(width, height int) error {
|
||||
}
|
||||
|
||||
func (u *userInterfaceImpl) beginFrame() {
|
||||
u.inFrame = true
|
||||
u.t.Call(func() {
|
||||
u.inFrame = true
|
||||
})
|
||||
}
|
||||
|
||||
func (u *userInterfaceImpl) endFrame() {
|
||||
u.inFrame = false
|
||||
u.t.Call(func() {
|
||||
u.inFrame = false
|
||||
})
|
||||
}
|
||||
|
||||
// registerWindowSetSizeCallback must be called from the main thread.
|
||||
|
Loading…
Reference in New Issue
Block a user