From a87f197c1bcbeb8d3253a1bf0e1835c1d2b955d3 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 24 Feb 2018 14:50:45 +0900 Subject: [PATCH] ui: Add TODO --- internal/ui/ui_glfw.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ui/ui_glfw.go b/internal/ui/ui_glfw.go index 8abd77751..1a9e95826 100644 --- a/internal/ui/ui_glfw.go +++ b/internal/ui/ui_glfw.go @@ -425,6 +425,7 @@ func (u *userInterface) pollEvents() { func (u *userInterface) updateGraphicsContext(g GraphicsContext) { actualScale := 0.0 sizeChanged := false + // TODO: Is it possible to reduce 'runOnMainThread' calls? _ = u.runOnMainThread(func() error { if !u.sizeChanged { return nil