From 37944d67c4ee3ee41b435441ef750b0257cd9744 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 18 Apr 2021 00:05:38 +0900 Subject: [PATCH] internal/uidriver/glfw: Update comments Updates #1576 --- internal/uidriver/glfw/ui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/uidriver/glfw/ui.go b/internal/uidriver/glfw/ui.go index 78d2ad124..199b6e6a0 100644 --- a/internal/uidriver/glfw/ui.go +++ b/internal/uidriver/glfw/ui.go @@ -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() }