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