mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
parent
ab8477a21a
commit
37944d67c4
@ -1298,7 +1298,7 @@ func (u *UserInterface) Window() driver.Window {
|
||||
}
|
||||
|
||||
func (u *UserInterface) maximize() {
|
||||
// Maximizing invokes the SetSize callback but the callback must not be called in Update.
|
||||
// Maximizing invokes the SetSize callback but the callback must not be called in the game's Update (#1576).
|
||||
if u.unregisterWindowSetSizeCallback() {
|
||||
defer u.registerWindowSetSizeCallback()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user