Fixed build

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14410 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2014-08-19 08:57:23 +00:00
parent f28d460caa
commit 818e1393ec

View File

@@ -78,7 +78,7 @@ osg::Node* Style::createPanel(const osg::BoundingBox& extents, const osg::Vec4&
vertices->push_back( osg::Vec3(extents.xMax(), extents.yMax(), extents.zMin()) );
osg::ref_ptr<osg::Vec4Array> colours = new osg::Vec4Array;
geometry->setColorArray(colours, osg::Array::BIND_OVERALL);
geometry->setColorArray(colours.get(), osg::Array::BIND_OVERALL);
colours->push_back( colour );