Update to GLFW3 on MacOS 10.8.4 -> GLFW won't create OpenGL 3.2 context anymore

jackgoldfinch wrote on Friday, June 28, 2013:

Hello everybody,

I just encountered a problem after updating an existing (and working!) project from GLFW 2.7.8 to GLFW 3.0.1 - I guess the subject kind of says it all. :slight_smile:

With 2.7.8 context creation with a 3.2 core profile worked perfectly fine, now with 3.0.1 if I request a 3.2 context window creation fails, if I don’t request any specific context I get a 2.1 one…

Oh, I’m using Xcode 4.6.3 by the way. Don’t really think it matters, though.

Thanks in advance for any suggestions!

Edit:
Problem solved!

glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);

did the trick! :slight_smile: