Hi all,

Using composite viewer, I have a strange behavior :

If, during the build of my scene, I make 1, 2... osgViewer::view in the same
composite viewer, everything is godd and work well.

But, if during the render loop (after 200 frame() ) I had one View, with the
same code of the previous, I have a crash in getGLVersionNumber :
(glextensions.cpp)

float osg::getGLVersionNumber()
{
    // needs to be extended to do proper things with subversions like 1.5.1,
etc.
    char *versionstring   = (char*) glGetString( GL_VERSION );    //HERE
void char* on the last View, but not on the previous one(s)...
    std::string vs( versionstring );
    return( atof( vs.substr( 0, vs.find( " " ) ).c_str() ) );
}



I does not make any sense for me... the GL_VERSION is defined, so what
happens ?

Any Idea ?

Thanks.

Regards,
  Vincent.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to