aboutsummaryrefslogtreecommitdiff
path: root/src/client/mesh.cpp
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-03-31 13:15:47 +0200
committerGitHub <noreply@github.com>2021-03-31 13:15:47 +0200
commit1e4913cd76f5d31456d04a5ce23e66d5c60060de (patch)
treeb97fe77b159d158d88ff87df59effd821c0b2e1d /src/client/mesh.cpp
parent0d90ed6d921baefbb1a969df69f7b86e702e962f (diff)
downloadminetest-1e4913cd76f5d31456d04a5ce23e66d5c60060de.tar.gz
minetest-1e4913cd76f5d31456d04a5ce23e66d5c60060de.tar.bz2
minetest-1e4913cd76f5d31456d04a5ce23e66d5c60060de.zip
Irrlicht support code maintenance
Diffstat (limited to 'src/client/mesh.cpp')
-rw-r--r--src/client/mesh.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/client/mesh.cpp b/src/client/mesh.cpp
index 2400a374c..e43139218 100644
--- a/src/client/mesh.cpp
+++ b/src/client/mesh.cpp
@@ -27,14 +27,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <SAnimatedMesh.h>
#include <IAnimatedMeshSceneNode.h>
-// In Irrlicht 1.8 the signature of ITexture::lock was changed from
-// (bool, u32) to (E_TEXTURE_LOCK_MODE, u32).
-#if IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR <= 7
-#define MY_ETLM_READ_ONLY true
-#else
-#define MY_ETLM_READ_ONLY video::ETLM_READ_ONLY
-#endif
-
inline static void applyShadeFactor(video::SColor& color, float factor)
{
color.setRed(core::clamp(core::round32(color.getRed()*factor), 0, 255));