diff --git a/gameforui.go b/gameforui.go index f0867262b..7394bc7d2 100644 --- a/gameforui.go +++ b/gameforui.go @@ -60,5 +60,7 @@ func (c *gameForUI) Update() error { } func (c *gameForUI) Draw() { + // TODO: This is a dirty hack to fix #2362. Move setVerticesCache to ui.Image if possible. + c.offscreen.resolveSetVerticesCacheIfNeeded() c.game.Draw(c.offscreen) }