diff --git a/internal/ui/context.go b/internal/ui/context.go index ead3cbc13..73cac4c3b 100644 --- a/internal/ui/context.go +++ b/internal/ui/context.go @@ -166,7 +166,8 @@ func (c *context) drawGame(graphicsDriver graphicsdriver.Graphics, forceDraw boo return err } - const maxSkipCount = 3 + // 180 might be too big but this is a enough value to consider exiting from fullscreen on macOS (#2500). + const maxSkipCount = 180 if !forceDraw && !theGlobalState.isScreenClearedEveryFrame() && !c.isOffscreenDirty { if c.skipCount < maxSkipCount {