Sign in to follow this  
V-man

2 context

Recommended Posts

Is it legal to create 1 window, setup the pixel format, then call context1=wglCreateContext(hdc); context2=wglCreateContext(hdc); wglMakeCurrent(hdc, context1); wglShareLists(context1, context2); and I want to make another thread. In the other thread, make context2 current and load textures and shaders, etc. Has anyone tried this?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this