internal/uidriver/glfw: Fix comments

Updates #1618
This commit is contained in:
Hajime Hoshi 2021-04-23 03:28:09 +09:00
parent 8b1100888e
commit f5574d911e

View File

@ -1042,7 +1042,7 @@ func (u *UserInterface) setWindowSize(width, height int, fullscreen bool) {
ch <- struct{}{}
})
u.window.SetSize(newW, newH)
// Just after SetSize, GetSize is not reliable especially on Linux/Windows.
// Just after SetSize, GetSize is not reliable especially on Linux/UNIX.
// Let's wait for FramebufferSize callback in any cases.
// Use the timeout as FramebufferSize event might not be fired (#1618).