I just want to know in a OpenGL MDI Document,when I built another new window, need I set up a new rendering context and device context? And need to initialize them and wglMakeCurrent(hdc,hglrc) on _each_ rendering with dc and hglrc of active window ? maybe need a lot of resource right?
about OpenGL MDI Document!
2 replies to this topic
Members - Reputation: 122
Posted 28 November 2001 - 04:39 AM
The few times that I''ve had to do that I did create the extra context and had to use wglMakeCurrent each time a window was selected....there could be a better way though. Try reading this article I am sure it says something about it: http://www.gamedev.net/reference/programming/features/3dmfc/