Hi, I got some research how to get true opengl 3.0 and higher contexts under X11
Open sucsessfully up to 4.3 contexts
But have some problem:  from 3.2 contexts opens only in 
GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB
because some osg instructions that are depricated in versions from 3.2
to use new functionality use osgsimplegl3 example
also use to have 4.3 context
const std::string version( "4.3" );
traits->glContextVersion = version;
traits->glContextProfileMask=GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB;

Thank you!

Cheers,
Roman

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




Attachments: 
http://forum.openscenegraph.org//files/graphicswindowx11_131.cpp


_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to