Hi,
i had similar problem, the graphic context was no longer current/ available.
if you need the extensions: have a look at osg::GL2Extensions class or
osg::GLExtensions class,
work around: custom drawable object, in the drawimplementation method add
the glGetString,..
/adrian
2008/7/31 sherman wilcox <[EMAIL PROTECTED]>
> Running latest version of OSG in SVN, calling glGetString(...) from
> main render loop (single threaded osgViewer). Like this:
>
> while(viewer.done() == false)
> {
> viewer.frame();
>
> char* extensions = (char*)glGetString(GL_EXTENSIONS);
> }
>
>
> extensions is always NULL. Am I doing something wrong here? Could
> someone else test this?
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
--
********************************************
Adrian Egli
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org