internal/uidriver/glfw: Misspelling

This commit is contained in:
Hajime Hoshi 2021-04-21 22:29:54 +09:00
parent 1013ca9c66
commit 4cb6cb9d6a

View File

@ -1366,7 +1366,7 @@ func (u *UserInterface) maximizeWindow() {
if !u.isFullscreen() {
// On Linux/UNIX, maximizing might not finish even though Maximize returns. Just wait for its finish.
// Do not check this on the fullscreen since apparently the condition never be true.
// Do not check this on the fullscreen since apparently the condition can never be true.
for u.window.GetAttrib(glfw.Maximized) != glfw.True {
glfw.PollEvents()
}