Change / Switch OpenGL Version from 2.1 to 3.0+

Hi there,
Few days ago I dig into shaders world. I read the tutorials at http://openframeworks.cc/tutorials/graphics/shaders.html
My GL version seems to be 2.1. However, my Mac supports OpenGL version up to 4.1 you can see the screen shots as follows;

Then, I search the OF forum and encounter with the following method but no chance. Xcode says there is no matching function…

ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE);

And after few hours of searching, I found;

ofGLWindowSettings settings;
settings.width = 1280;
settings.height = 720;
settings.setGLVersion(3, 1);
ofCreateWindow(settings);

It compiles the project successfully, then it stopped suddenly and throws error as follows;

I downloaded the latest release of OF few days ago, btw.

if you check the output in the console, it says that it won’t support openGL 3.0 or 3.1. perhaps try with 3.2 or 4.0

Thank you Arturo!
Is it a bug or my mistake? The first screen shot is generated with GLInfoExample, when I hit space button to generate detailed info.

It seems to be OK for version 3.0,3.1, 3.2 and 4.0. But, It works only for 3.2.