Hi Robert

Actually there is a bug here. The ShaderComposer::releaseGLObjects does not 
override because it is declared without the const specifier. 
Object::releaseGLObjects is declared const.


> osg::Object::releaseGLObjects is virtual, but 
> osg::ShaderComposer::releaseGLObjects is not. Is there a reason why? 

The virtual keyword doesn't really have a meaning in overridden functions. 
Still wouldn't hurt to add it though.

Cheers
Jannik

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





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

Reply via email to