Skip to content

macOS: bump baseline to 10.15, fix GL_SILENCE_DEPRECATION placement - #62

Merged
dpjudas merged 1 commit into
dpjudas:masterfrom
johncurley:macos-10.15-cleanup
Apr 1, 2026
Merged

macOS: bump baseline to 10.15, fix GL_SILENCE_DEPRECATION placement#62
dpjudas merged 1 commit into
dpjudas:masterfrom
johncurley:macos-10.15-cleanup

Conversation

@johncurley

Copy link
Copy Markdown
Contributor

resourcedata_mac.mm:

  • Remove @available(macOS 10.15, *) guard around monospacedSystemFontOfSize:weight:
  • Drop systemFontOfSize: fallback — 10.15 is now the minimum supported version

cocoa_display_window.mm:

  • Move GL_SILENCE_DEPRECATION before OpenGL header imports so it actually silences the deprecation warnings (defining it after the headers have no effect)
  • Wrap initOpenGL() NSOpenGL usage in -Wdeprecated-declarations pragmas for cleaner builds on macOS 12+

Hi dpjudas,

I've bumped the minimum version for macOS to 10.15+ from 10.13+ because the ShaderCompiler library I'm using has glsl-lang support at 10.15+ minimum. Metal renderer is feature complete, I'll post to the forums soon and as promised will start the HaikuOS porting at some stage.

resourcedata_mac.mm:
- Remove @available(macOS 10.15, *) guard around monospacedSystemFontOfSize:weight:
- Drop systemFontOfSize: fallback — 10.15 is now the minimum supported version

cocoa_display_window.mm:
- Move GL_SILENCE_DEPRECATION before OpenGL header imports so it
  actually silences the deprecation warnings (defining it after the
  headers have no effect)
- Wrap initOpenGL() NSOpenGL usage in -Wdeprecated-declarations pragmas
  for cleaner builds on macOS 12+

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dpjudas
dpjudas merged commit 8a84943 into dpjudas:master Apr 1, 2026
3 checks passed
@dpjudas

dpjudas commented Apr 1, 2026

Copy link
Copy Markdown
Owner

I had to force push the master branch because this commit included copilot ad spam. I appreciate the PR itself, but please make sure in the future that AI companies do not inject spam into your work. :)

@johncurley

Copy link
Copy Markdown
Contributor Author

Ah I see. No worries, I was a little lazy pushing out the last few commits for the renderer as it was failing cross platform builds so asked copilot to create a new branch. I should have checked the commit a little better.

@johncurley
johncurley deleted the macos-10.15-cleanup branch April 1, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants