Strange, 
But as i said its premilinary patch.
It's done against current svn trunk. s
To test it i remove commentary in Geometry constructor (so all geometrys use 
vao) and test several models with osgviewer.
This way i didn't have any glerror.
How did you test?


Adun wrote:
> 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=63153#63153





_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to