View Full Version : initGL() and wglMakeCurrent(hdc,hrc)

07-08-2001, 05:04 PM
I will like to know if each time we call wglMakeCurrent() after we initialized opengl with initGL()(call glClearColor(), glShadeModel, etc) all the initialization that we made with initGL gets erased?
I have 2 windows that use opengl and each time I want to draw something with opengl in one window and then chage to the other one the whole thing looks messed up, for example I can see the back of the polygons as if the faces were drawn clock wise instead of anticlockwise, but when I initilize after each wglMakeCurrent() it seems to work fine. So yep thats my question does wglMakeCurrent() "reset" all the settings of initGL?