Skip to content

Upgrade deprecated CVDisplayLink APIs #139

@martinfouilleul

Description

@martinfouilleul

On macOS 15+, most CVDisplayLink APIs have been deprecated, resulting in warnings like

'CVDisplayLinkStop' is deprecated: first deprecated in macOS 15.0 - use NSView.displayLink(target:selector:), NSWindow.displayLink(target:selector:), or NSScreen.displayLink(target:selector:)
    CVDisplayLinkStop(ocWindow->displayLink);

Since we turn warnings into errors to make zig build surface them, it breaks the build. #135 works around this by disabling the deprecated warning around these APIs, but we should look into what the upgrade path is for these APIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions