From 0469ef386b846cd62d360e35c6c6c234d17e017b Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 6 Jan 2018 23:53:35 +0900 Subject: [PATCH] ui: Fix comment --- internal/ui/ui_glfw.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/ui/ui_glfw.go b/internal/ui/ui_glfw.go index 7ad7f39a8..fdca948f7 100644 --- a/internal/ui/ui_glfw.go +++ b/internal/ui/ui_glfw.go @@ -487,7 +487,8 @@ func (u *userInterface) loop(g GraphicsContext) error { if err := u.update(g); err != nil { return err } - // The bound framebuffer must be the default one (0) before swapping buffers. + // The bound framebuffer must be the original screen framebuffer + // before swapping buffers. opengl.GetContext().BindScreenFramebuffer() _ = u.runOnMainThread(func() error { u.swapBuffers()