Hi Robert,

Good to know that osg checks the capabilties them selves.
I tried the following snippet:

Code:

 _ctx = std::unique_ptr<QOpenGLContext>(new QOpenGLContext);

    QSurfaceFormat format;
    format.setMajorVersion(_majorId);
    format.setMinorVersion(_minorId);    
    format.setOption(QSurfaceFormat::DeprecatedFunctions,true);
    format.setProfile(QSurfaceFormat::CoreProfile);


    format.setDepthBufferSize(24);

    _ctx->setFormat(format);
    _active = _ctx->create();




and tested it with all profiles [CompatibilityProfile,CoreProfile,NoProfile] .

When i do make a 2.1 context i see no error messages, this would be weird 
right? Knowing that osg handles the capabilites them selves.

Osg was build with all OSG_GL[1,2,3]_AVAILABLE flag

Might there be something that iḿ overlooking? 
 
... 

Thank you!

Cheers,
Auke-Dirk

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66996#66996





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to