OpenGl Version on macbookpro6,1 mountain lion

On my MacbookPro6,1 with Snow Leopard on it this

    printf("GL_VERSION = %s

", (char*)glGetString(GL_VERSION));

prints this

     GL_VERSION = 2.1 NVIDIA-1.6.36

Can anyone tell me what they get on a 6,1 with Mountain Lion? I’m guessing that MLion has an updated video driver with a higher OpenGl version.


10.6.x only supports up to GL2.1.
10.7.x and 10.8.x support up to GL3.2.

You can see this over at

See the Profile documentation to learn about creating a GL3.2 context: