diff --git a/gameforui.go b/gameforui.go index 7394bc7d2..a7781c128 100644 --- a/gameforui.go +++ b/gameforui.go @@ -63,4 +63,5 @@ 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) + c.offscreen.resolveSetVerticesCacheIfNeeded() }