internal/uidriver/glfw: Update comments

Updates #1576
This commit is contained in:
Hajime Hoshi 2021-04-18 00:05:38 +09:00
parent ab8477a21a
commit 37944d67c4

View File

@ -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()
}