Reputation: 2037
Can we use wglMakeCurrent()
function in more than one thread to use the same OpenGL context, simultaneously? or I have to create one OpenGL context per thread?
Upvotes: 3
Views: 367
Reputation: 52085
Can we use wglMakeCurrent function in more than one thread to use the same opengl context, simultaneously?
No:
I have to create one opengl context per thread?
Yes.
Upvotes: 6