Does wglMakeCurrent reset the projection matrix to a zero matrix or an identity matrix or something else? Does it do anything besides set a DC’s current rendering context?
Yes, simply because opengl calls are valid for the current context, so if you have done any API call and then change your context, the API calls will not affect the new context.
That confirms what I found out minutes before I read your post. I put all of my viewport and perspective matrix code right after the call to wglCreateContext and my problems are solved. Thanks!
PS - my problem was that I could not for the sake of my life get the “camera” to be positioned and oriented properly, even when copying code from working programs.