Can I make multithread program with glut?
You can certainly write using threads. If you want to make opengl calls from more than the main thread, however, things get tricky.
If you can isolate opengl to the main thread, you can do whatever you wish in the others.
I do not think GLUT is thread-safe if that is your question?
GLUT by itself does not support threads. GLFW does (in a portable way).
if i remember correctly, glut uses thread internally for rendering, input (as keyboard, mouse, refresh…).
sorry for such a little post.
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.