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.

Thanks
Mike

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
https://developer.apple.com/graphicsimaging/opengl/capabilities/

See the Profile documentation to learn about creating a GL3.2 context:
https://developer.apple.com/library/mac/#documentation/graphicsimaging/conceptual/OpenGL-MacProgGuide/opengl_pixelformats/opengl_pixelformats.html#//apple_ref/doc/uid/TP40001987-CH214-SW9