diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wieldmesh.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wieldmesh.cpp b/src/wieldmesh.cpp index ac0832057..71193da76 100644 --- a/src/wieldmesh.cpp +++ b/src/wieldmesh.cpp @@ -290,7 +290,9 @@ void WieldMeshSceneNode::setExtruded(const std::string &imagename, material.setFlag(video::EMF_TRILINEAR_FILTER, false); } // mipmaps cause "thin black line" artifacts +#if (IRRLICHT_VERSION_MAJOR >= 1 && IRRLICHT_VERSION_MINOR >= 8) || IRRLICHT_VERSION_MAJOR >= 2 material.setFlag(video::EMF_USE_MIP_MAPS, false); +#endif if (m_enable_shaders) material.setTexture(2, tsrc->getTexture("disable_img.png")); } |