Let Mac OS X have goodies.

This commit is contained in:
Jason Felds
2013-04-29 23:37:10 -04:00
parent 71d993ee39
commit c07d4cf78f
11 changed files with 4 additions and 117 deletions
-9
View File
@@ -760,16 +760,7 @@ void Model::SetSecondsIntoAnimation( float fSeconds )
bool Model::MaterialsNeedNormals() const
{
#ifdef MACOSX
for (msMaterial const &m : m_Materials)
{
if( m.NeedsNormals() )
return true;
}
return false;
#else
return std::any_of(m_Materials.begin(), m_Materials.end(), [](msMaterial const &m) { return m.NeedsNormals(); });
#endif
}
// lua start