mirror of
https://github.com/yattee/yattee.git
synced 2026-07-31 12:22:00 +00:00
macOS 27 beta routes contentsScale changes (window moving between screens) through Core Animation's implicit-animation path, which builds a presentation copy of the layer via init(layer:). Our override re-ran visual setters on that copy, and -[CAOpenGLLayer setColorspace:] dereferences render state the shadow copy doesn't own, crashing with EXC_BAD_ACCESS. Drop the redundant setter block (super.init(layer:) already copies presentation values) and disable implicit actions around the contentsScale writes in MPVOGLView so the presentation-copy path is never entered for scale updates.
11 KiB
11 KiB