uidriver/glfw: Fix comments

This commit is contained in:
Hajime Hoshi 2019-12-08 23:03:13 +09:00
parent 3e89e7e561
commit c243bfcdd8

View File

@ -747,8 +747,8 @@ func (u *UserInterface) run(width, height int, scale float64, title string, cont
u.setScreenSize(width, height, scale, false, u.vsync)
_ = u.t.Call(func() error {
// Get the window size before showing since window.Show might change the current
// monitor which affects deviceDependentWindowSize result.
// Get the window size before showing it. Showing the window might change the current monitor which
// affects deviceDependentWindowSize result.
w, h := u.deviceDependentWindowSize()
u.title = title