Re: [osg-users] Extension ' is not supported

2018-11-09 Thread Sam Brkopac
Just for clarity, it wasn't causing me any issues. Thanks for looking into it, 
Robert.

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Extension '' is not supported

2018-11-09 Thread Robert Osfield
I traced it back to a line in SceneGraph.cpp's SceneView::init():

// force the initialization of the OpenGL extension string
// to try and work around a Windows NVidia driver bug circa Oct 2006.
osg::isGLExtensionSupported(_renderInfo.getState()->getContextID(),"");

So the confirms that the issue is benign, and I think given it's 12 years
on that there have been lots of other changes to the osg::State &
GLExtensions are setup it's probably safe to remove - there are lots of
other extensions being checked prior to the "" ones.  I will check in
removal of this call to OSG-3.6 branch and master.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Extension '' is not supported

2018-11-09 Thread Robert Osfield
I have just run the following:

$ osgviewer cow.osgt | grep "OpenGL extension '' is not supported"
OpenGL extension '' is not supported.
OpenGL extension '' is not supported.

So I get the odd warning.  It suggests that code somewhere is attempting to
to check an extension name that with an empty string.  I will have a quick
look.  It'll likely be benign issue.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Extension '' is not supported

2018-11-09 Thread michael kapelko
Hi. Is there any specific problem with that message you want to know?
On Thu, 8 Nov 2018 at 23:40, Sam Brkopac  wrote:
>
> Hi,
>
> When I use the latest 3.6.3 release, I get the following message when 
> enabling OSG_INFO.
>
>
> Code:
> OpenGL extension '' is not supported.
>
>
>
> Does anybody else get this when running a normal viewer example?
>
>
> Code:
> int main(int argc, const char *argv[]) {
>
> osg::setNotifyLevel(osg::NotifySeverity::INFO);
>
> osgViewer::Viewer viewer;
>
> viewer.setUpViewInWindow(50, 50, 640, 480, 0);
> viewer.setCameraManipulator(new osgGA::MultiTouchTrackballManipulator);
>
> return viewer.run();
> }
>
>
>
> Thanks, Sam
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75175#75175
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org