From 308c8091cdf06ee6db2371d726559e23f47749ff Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 30 Sep 2018 18:53:38 +0900 Subject: [PATCH] ui: Fix comments --- internal/ui/ui_glfw.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/ui_glfw.go b/internal/ui/ui_glfw.go index 47dd87e2d..3d9dee352 100644 --- a/internal/ui/ui_glfw.go +++ b/internal/ui/ui_glfw.go @@ -646,7 +646,7 @@ func (u *userInterface) loop(g GraphicsContext) error { d := time.Duration(n2 - n1) // On macOS Mojave, vsync might not work (#692). - // As a tempoarry fix, just wait for a millisecond not to consume CPU too much. + // As a tempoarry fix, just wait for a while not to consume CPU too much. const threshold = 4 * time.Millisecond // 250 [Hz] if d < threshold { time.Sleep(threshold - d)