internal/uidriver/glfw: Update comments

Updates #1787
This commit is contained in:
Hajime Hoshi 2021-08-26 02:05:25 +09:00
parent 9c321375c9
commit 40d2dd3ba7

View File

@ -975,6 +975,7 @@ func (u *UserInterface) update() (float64, float64, bool, error) {
// Call updateVsync even though fpsMode is not updated. // Call updateVsync even though fpsMode is not updated.
// The vsync state might be changed in other places (e.g., the SetSizeCallback). // The vsync state might be changed in other places (e.g., the SetSizeCallback).
// Also, when toggling to fullscreen, vsync state might be reset unexpectedly (#1787).
u.updateVsync() u.updateVsync()
outsideWidth, outsideHeight, outsideSizeChanged := u.updateSize() outsideWidth, outsideHeight, outsideSizeChanged := u.updateSize()