I’m really not sure if this is a Windows-specific problem, or specific to a version of OpenGL, or even OpenGL at all, but I am fairly sure it is. Anyway, here goes…
So I’ve got a Windows program, written in C (I’m pretty new to that), that makes a window with an OpenGL context. On two of my computers, it works correctly. On the other one, it doesn’t, and the problem is the same on a few friends’ computers.
The OpenGL context covers most of the title bar. It’s apparently being shown at (0,0) relative to the window itself rather than relative to the client area. Moving or resizing the window changes nothing. The code can be found here:
I hope someone comes along and says, “Oh, you left out a 0,” or something along those lines.