+ State& state = *renderInfo.getState();
+ const Extensions* extensions = getExtensions(state.getContextID(), true);
+ Vec4Array::const_iterator citer = _posScaleArray->begin();
+ Vec4Array::const_iterator cend = _posScaleArray->end();
+ FloatArray::const_iterator viter = _vertexAttribArray->begin();
+ for (; citer != cend; ++citer, ++viter) {
+ const Vec4& color = *citer;
+ const float attrib = *viter;
+ glColor4fv(color.ptr());
+ extensions->glVertexAttrib1f(1, attrib);