Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: Move UI API calls to the main thread #9870

Merged
merged 3 commits into from Jul 13, 2021

Conversation

OatmealDome
Copy link
Member

Just a minor cleanup that makes debugging in Xcode a better experience.

Some APIs must only be called from the main thread. The fact that these APIs were called from other threads and still worked without crashing / bugs is a coincidence. (The AGL GLInterface has apparently already been affected by this before, and was mostly fixed in #8544.)

Also, I define GL_SILENCE_DEPRECATION in all files that use the AppKit OpenGL APIs. This silences all warnings that say "OpenGL is deprecated, use Metal" when an OpenGL-related API is accessed. I think we all know that by now.

Copy link
Member

@leoetlino leoetlino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, changes seem sane

@leoetlino leoetlino merged commit 162af2a into dolphin-emu:master Jul 13, 2021
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants