Skip to content

Commit

Permalink
internal/uidriver/glfw: Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Apr 22, 2021
1 parent 8b11008 commit f5574d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/uidriver/glfw/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit f5574d9

Please sign in to comment.