diff --git a/uicontext.go b/uicontext.go index cda9bde19..4f68646a8 100644 --- a/uicontext.go +++ b/uicontext.go @@ -216,6 +216,9 @@ func (c *uiContext) draw() { return } + if IsScreenClearedEveryFrame() { + c.offscreen.Clear() + } c.game.Draw(c.offscreen) // This clear is needed for fullscreen mode or some mobile platforms (#622).