internal/uidriver/glfw: Fix comments

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

View File

@ -1208,7 +1208,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).