I've copied and pasted the sample code in the "Putting it together" section from http://www.glfw.org/docs/latest/quick.html. The default code compiles and render the rotating colored triangle.
However when I try to change the context version from 2.0 to 3.2+, it simply stops rendering and I am left with a blank screen. No error messages are printed to the terminal either. When checking the version, it always return 3.2.1. I simply changed version hint lines from:
and added the following lines directly after:
Visual Studio 2015 (x64)
nVidia GeForce 970 GTX (OpenGL 4.4)
Windows 7, Ultimate SP1, x64
(Please note that if I specify the profile as GLFW_OPENGL_COMPAT_PROFILE, it works, but it is still using a 3.2.1 context. I'm pretty sure the code in that example is compatible with OpenGL 4.0 Core profile as well. )
Am I doing something obviously wrong?