don't work under linux nvidia 343.22
segfault here GLBufferObject::compileBuffer()
at _extensions->glBufferSubData(_profile._target, (GLintptr)entry.offset,
(GLsizeiptr)entry.dataSize, entry.dataSource->getDataPointer());
on complex model
also minor warnings on gcc 4.8.2
Code:
/home/i/work/osg_git032015/osg/src/osg/Geometry.cpp: In member function
‘virtual void osg::Geometry::compileGLObjects(osg::RenderInfo&) const’:
/home/i/work/osg_git032015/osg/src/osg/Geometry.cpp:753:40: warning: converting
to non-pointer type ‘GLuint {aka unsigned int}’ from NULL [-Wconversion-null]
extensions->glBindVertexArray(NULL);
^
/home/i/work/osg_git032015/osg/src/osg/Geometry.cpp: In member function
‘virtual void osg::Geometry::drawImplementation(osg::RenderInfo&) const’:
/home/i/work/osg_git032015/osg/src/osg/Geometry.cpp:824:47: warning: converting
to non-pointer type ‘GLuint {aka unsigned int}’ from NULL [-Wconversion-null]
extensions->glBindVertexArray(NULL);
Cheers,
Roman[/code]
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63151#63151
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org