[osg-users] Qt OpenGL Warning opengl

Auke-Dirk Pietersma aukedirk at horus.nu
Thu Apr 28 01:59:53 PDT 2016


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








More information about the osg-users mailing list