Fixed compilation with irr 1.6
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -149,6 +149,9 @@ void Material::setMaterialProperties(video::SMaterial *m) const
|
||||
m->EmissiveColor = video::SColor(255, 255, 255, 255);
|
||||
m->SpecularColor = video::SColor(255, 255, 255, 255);
|
||||
}
|
||||
|
||||
#if (IRRLICHT_VERSION_MAJOR == 1) && (IRRLICHT_VERSION_MINOR >= 7)
|
||||
|
||||
if (m_clamp_tex & UCLAMP)
|
||||
{
|
||||
// m->setFlag();
|
||||
@@ -173,6 +176,6 @@ void Material::setMaterialProperties(video::SMaterial *m) const
|
||||
m->TextureLayer[n].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
// FIXME: more parameters need to be set!
|
||||
} // setMaterialProperties
|
||||
|
||||
Reference in New Issue
Block a user