OSX Create OpenGL context 3.2



  • Hi,

    I want to create an OpenGL context in core profile with Qt. I declare my context :

    QSurfaceFormat fmt;
    fmt.setProfile(QSurfaceFormat::CoreProfile);
    fmt.setVersion(3,2);
    fmt.setSamples(0);
    fmt.setSwapBehavior(QSurfaceFormat::DoubleBuffer);
    QSurfaceFormat::setDefaultFormat(fmt);
    

    But when I check the GL_VERSION I have: GL VERSION: 4.1 ATI-1.42.11

    Why it isn't 3.2?

    Regarde,
    Robin


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.