From a3ba83c5dab09b02c451e0327b30924b563520fe Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 24 Oct 2023 14:44:53 +0900 Subject: [PATCH] internal/ui: bug fix: an error was ignored --- internal/ui/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/context.go b/internal/ui/context.go index cfb0d9b37..27dea2c9c 100644 --- a/internal/ui/context.go +++ b/internal/ui/context.go @@ -119,7 +119,7 @@ func (c *context) updateFrameImpl(graphicsDriver graphicsdriver.Graphics, update // Flush deferred functions, like reading pixels from GPU. if err := c.processFuncsInFrame(ui); err != nil { - return nil + return err } // ForceUpdate can be invoked even if the context is not initialized yet (#1591).