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:
parent
0ac5784ced
commit
965add53f8
@ -492,11 +492,12 @@ void Material::setMaterialProperties(video::SMaterial *m) const
|
||||
#endif
|
||||
|
||||
// anisotropic
|
||||
#ifdef DEBUG
|
||||
if (UserConfigParams::m_rendering_debug || (m_anisotropic && UserConfigParams::m_anisotropic))
|
||||
#else
|
||||
if (m_anisotropic && UserConfigParams::m_anisotropic)
|
||||
#endif
|
||||
//#ifdef DEBUG
|
||||
//if (UserConfigParams::m_rendering_debug || (m_anisotropic && UserConfigParams::m_anisotropic))
|
||||
//#else
|
||||
//if (m_anisotropic && UserConfigParams::m_anisotropic)
|
||||
//#endif
|
||||
if (UserConfigParams::m_anisotropic)
|
||||
{
|
||||
m->setFlag(video::EMF_ANISOTROPIC_FILTER, true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user