diff --git a/src/osg/Geometry.cpp b/src/osg/Geometry.cpp index a3329e585..97dd00eb2 100644 --- a/src/osg/Geometry.cpp +++ b/src/osg/Geometry.cpp @@ -1217,6 +1217,7 @@ Geometry* osg::createTexturedQuadGeometry(const Vec3& corner,const Vec3& widthVe } \ if (array->getBinding() == binding) return; \ array->setBinding(binding);\ + if (binding==osg::Array::BIND_PER_VERTEX) addVertexBufferObjectIfRequired(array); \ if (ab==3 /*osg::Geometry::BIND_PER_PRIMITIVE*/) _containsDeprecatedData = true; \ dirtyGLObjects();