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

Make debug message callback Send + Sync. #267

Merged
merged 2 commits into from
Nov 27, 2023
Merged

Conversation

surban
Copy link
Contributor

@surban surban commented Nov 26, 2023

The debug callback function was not required to be Send+Sync.
This caused the native Context struct to become !Send + !Sync, which
is problematic because an OpenGL context can be passed to another
thread.

Fixes #266.

The debug callback function was not required to be Send+Sync.
This caused the native `Context` struct to become !Send + !Sync, which
is problematic because an OpenGL context can be passed to another
thread.
Copy link
Owner

@grovesNL grovesNL left a comment

Choose a reason for hiding this comment

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

Thank you!

@grovesNL grovesNL merged commit c4a5f71 into grovesNL:main Nov 27, 2023
6 checks passed
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.

Native Context has become !Send + !Sync
2 participants