Enable anisotropic filtering for all textures

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-03-16 20:35:12 +00:00
parent 0ac5784ced
commit 965add53f8

View File

@ -492,11 +492,12 @@ void Material::setMaterialProperties(video::SMaterial *m) const
#endif #endif
// anisotropic // anisotropic
#ifdef DEBUG //#ifdef DEBUG
if (UserConfigParams::m_rendering_debug || (m_anisotropic && UserConfigParams::m_anisotropic)) //if (UserConfigParams::m_rendering_debug || (m_anisotropic && UserConfigParams::m_anisotropic))
#else //#else
if (m_anisotropic && UserConfigParams::m_anisotropic) //if (m_anisotropic && UserConfigParams::m_anisotropic)
#endif //#endif
if (UserConfigParams::m_anisotropic)
{ {
m->setFlag(video::EMF_ANISOTROPIC_FILTER, true); m->setFlag(video::EMF_ANISOTROPIC_FILTER, true);
} }