From Vivek Rajan, fixes to Solaris build.

This commit is contained in:
Robert Osfield
2004-11-18 10:08:29 +00:00
parent 02ee5ff0cc
commit 595dda6fe4
8 changed files with 31 additions and 22 deletions

View File

@@ -417,7 +417,7 @@ void TriStripVisitor::stripify(Geometry& geom)
{
std::swap(pitr->m_Indices[2],pitr->m_Indices[3]);
unsigned int minValue = *(std::max_element(pitr->m_Indices.begin(),pitr->m_Indices.end()));
quadMap.insert(std::pair<unsigned int,prim_iterator>(minValue,pitr));
quadMap.insert(QuadMap::value_type(minValue,pitr));
}
}