Hello,
When we switch between OpenGL contexts, witch kind of data are keeped by the new current context?
cheer
Hello,
When we switch between OpenGL contexts, witch kind of data are keeped by the new current context?
cheer
Can you elaborate a little more ?
When I use wglMakeCurrent could you tell me if the new current context keep the same value of the previous one for the modelview matrix, GL_DEPTH_TEST, textures are still available or vertex buffer object as well ?
States such as the current modelview matrix, material state, enables, … won’t be shared. Every context has it’s own seperate state.
Textures, shaders, VBOs, display lists (in general: data objects) are seperate per default, but you can share them between contexts with wglShareLists.