openGL version update for OSX (PLEASE HELP, EMERGENCY)


This is current openGL information with my graphics card.
I hope to have 3.0 + version for opengl.
How would I update this on OSX?

opengl info
version=2.1 NVIDIA-8.24.9 310.40.25f01
vendor=NVIDIA Corporation
renderer=NVIDIA GeForce GT 650M OpenGL Engine

Thank you,

set your app to use the programmable render

ofSetupOpenGL(1024,768, OF_WINDOW);   

and then check what GL version is used

I just ran below code and I got “OPENGL 3”. Would that mean it is opengl3 even though that gl test from example shows that I have 2.1?

void testApp::setup(){
    if (ofIsGLProgrammableRenderer()) {
        std::cout << "OPENGL 3" << std::endl;

    } else {
        std::cout <<  "OPENGL 2" << std::endl;

Bit dramatic with the topic title there :fire_engine: :ambulance::question::stuck_out_tongue_winking_eye:

The shader tutorial does a pretty good job introducing the different GL versions supported by openFrameworks and how they can be accessed (assuming they are supported by your hardware and software).

1 Like