From c3ddc2089a6b5f851fb1bc96ac294ab61053c341 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 1 Mar 2021 12:07:55 +0900 Subject: [PATCH] ebiten: Update comments --- uicontext.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uicontext.go b/uicontext.go index 3e8e1c0e2..efaebb29b 100644 --- a/uicontext.go +++ b/uicontext.go @@ -190,7 +190,7 @@ func (c *uiContext) update(updateCount int) error { uiDriver().ResetForFrame() } - // Even though updateCount == 0 and vsync is enabled, the offscreen is cleared and Draw is called. + // Even though updateCount == 0, the offscreen is cleared and Draw is called when vscync is enabled. // Draw should not update the game state and then the screen should not be updated without Update, but // users might want to process something at Draw with the time intervals of FPS. // When vsync is disabled, as performance matters, skip calling Draw when possible (#1520).