mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
parent
ab8477a21a
commit
37944d67c4
@ -1298,7 +1298,7 @@ func (u *UserInterface) Window() driver.Window {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (u *UserInterface) maximize() {
|
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() {
|
if u.unregisterWindowSetSizeCallback() {
|
||||||
defer u.registerWindowSetSizeCallback()
|
defer u.registerWindowSetSizeCallback()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user