diff options
Diffstat (limited to 'video/out/cocoa-cb/window.swift')
-rw-r--r-- | video/out/cocoa-cb/window.swift | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/cocoa-cb/window.swift b/video/out/cocoa-cb/window.swift index b296eb25c8..b3db7aeb8f 100644 --- a/video/out/cocoa-cb/window.swift +++ b/video/out/cocoa-cb/window.swift @@ -305,7 +305,7 @@ class Window: NSWindow, NSWindowDelegate { } isAnimating = false - cocoaCB.layer.neededFlips += 1 + cocoaCB.layer.update() cocoaCB.checkShutdown() } @@ -316,7 +316,7 @@ class Window: NSWindow, NSWindowDelegate { endAnimation() isInFullscreen = true cocoaCB.flagEvents(VO_EVENT_FULLSCREEN_STATE) - cocoaCB.layer.neededFlips += 1 + cocoaCB.layer.update() } func setToWindow() { @@ -327,7 +327,7 @@ class Window: NSWindow, NSWindowDelegate { endAnimation() isInFullscreen = false cocoaCB.flagEvents(VO_EVENT_FULLSCREEN_STATE) - cocoaCB.layer.neededFlips += 1 + cocoaCB.layer.update() } func getFsAnimationDuration(_ def: Double) -> Double{ |