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 OpenGL: multiple instances clash #1080

Closed
svantana opened this issue Apr 3, 2024 · 0 comments · Fixed by #1097
Closed

Macos OpenGL: multiple instances clash #1080

svantana opened this issue Apr 3, 2024 · 0 comments · Fixed by #1097

Comments

@svantana
Copy link
Contributor

svantana commented Apr 3, 2024

When using NanoVG+OpenGL on mac, multiple instances can clash, like in the following video:

2x_OpenGL_clash_on_mac.mov

The apple docs are abysmal but from discussions it sounds like it depends on whether the instances are on the same thread or not.

https://stackoverflow.com/questions/2952156/determing-if-an-nsopenglview-has-a-valid-context-cocoa-osx

https://stackoverflow.com/questions/21798018/nsopenglcontext-destroying-textures-of-another-context

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 a pull request may close this issue.

1 participant