Skip to content

Starting a thread resets window handle #1430

Answered by Beyley
blayms asked this question in Q&A
Discussion options

You must be logged in to vote

You cannot run GL commands on a thread that does not have a GL context, and in the examples case, there is no context on your own thread

Theres not really a performant and easy way to do multithreading with OpenGL, so id recommend just doing it all on the main thread

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by blayms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1429 on April 23, 2023 01:26.