[osg-users] Get openGL version with the Help of osg

Daniel Neos daniel.rd at hotmail.de
Thu Aug 4 13:19:42 PDT 2016


Hi,

In my application, at the very first beginning, I want to check which openGL version the user has before creating/doing anything openGL related. 

For example the user can have a very poor openGL version(or remote Desktop only supports openGL 1.1), then I want to check the openGL version first and shut down the application, if necessary.

How can I achieve the openGL version with openscenegraph the most easy way? I tried the osg::getGLVersion() but I certainly need a kind of context first.

How can I get such a context without creating windows to yield the supported openGL version?


Thank you!

Cheers,
Daniel

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








More information about the osg-users mailing list