mac/vulkan: fix frame not displayed when paused

add event handler for when window's occlusion state changes and now
indicates some or all of the window is visible.

handling of the event is needed due to the addition of a visibility
check for rendering that was added in commit 5010c24.

Fixes #16693
This commit is contained in:
low-batt
2025-08-24 12:58:26 +02:00
committed by der richter
parent 5faec4e6af
commit 9f153e2a20
+4
View File
@@ -168,4 +168,8 @@ class MacCommon: Common {
layer?.contentsScale = window?.backingScaleFactor ?? 1
windowDidResize()
}
override func windowDidChangeOcclusionState() {
flagEvents(VO_EVENT_EXPOSE)
}
}