internal/ui: bug fix: an error was ignored

This commit is contained in:
Hajime Hoshi 2023-10-24 14:44:53 +09:00
parent f2acc3d9f7
commit a3ba83c5da

View File

@ -119,7 +119,7 @@ func (c *context) updateFrameImpl(graphicsDriver graphicsdriver.Graphics, update
// Flush deferred functions, like reading pixels from GPU. // Flush deferred functions, like reading pixels from GPU.
if err := c.processFuncsInFrame(ui); err != nil { if err := c.processFuncsInFrame(ui); err != nil {
return nil return err
} }
// ForceUpdate can be invoked even if the context is not initialized yet (#1591). // ForceUpdate can be invoked even if the context is not initialized yet (#1591).