Discussion:
[osg-users] Extension '' is not supported
Sam Brkopac
2018-11-08 20:22:39 UTC
Permalink
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
michael kapelko
2018-11-09 10:19:40 UTC
Permalink
Hi. Is there any specific problem with that message you want to know?
Post by Sam Brkopac
Hi,
When I use the latest 3.6.3 release, I get the following message when enabling OSG_INFO.
OpenGL extension '' is not supported.
Does anybody else get this when running a normal viewer example?
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
------------------
http://forum.openscenegraph.org/viewtopic.php?p=75175#75175
_______________________________________________
osg-users mailing list
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Robert Osfield
2018-11-09 10:36:17 UTC
Permalink
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.
Robert Osfield
2018-11-09 11:16:10 UTC
Permalink
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.
Sam Brkopac
2018-11-09 19:52:31 UTC
Permalink
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

Continue reading on narkive:
Loading...