Out of OSG/Qt, I think you should: 1) Create a very simple rendering context (associated to the window created by your application);
2) Make that rendering context as the current one; 3) Call glGetString(GL_RENDERER, ...); Steps 1 and 2 are required, since all gl calls need a current rendering context to work with. About steps 1 and 2, you should look at how OSG create the rendering context. Da: [email protected] [mailto:[email protected]] Per conto di Alistair Baxter Inviato: martedì 15 gennaio 2013 10:47 A: [email protected] Oggetto: [osg-users] GL_RENDERER string I'm wanting to get the GL_RENDERER string out of my OpenSceneGraph / Qt application for debug purposes, and potentially for showing to users for technical support purposes. I can get the likes of GL and GLSL version from the osg::GL2Extensions object, and I can see the renderer string being queries in the source code, but I'm having difficulty figuring out how to get it out.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

