aboutsummaryrefslogtreecommitdiff
path: root/src/client/sky.cpp
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2023-02-18 00:29:34 +0100
committersfan5 <sfan5@live.de>2023-02-18 16:46:51 +0100
commit3bafbaac49e3d5d1d633b26f60fd4e919399819b (patch)
treeb70231e8eb18fdf8b3d2cf2007919a5e46540db0 /src/client/sky.cpp
parent2dafce6206dfcf02f3c31cf1abe819e901489704 (diff)
downloadminetest-3bafbaac49e3d5d1d633b26f60fd4e919399819b.tar.xz
Remove dead code behind Irrlicht version checks
Diffstat (limited to 'src/client/sky.cpp')
-rw-r--r--src/client/sky.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/client/sky.cpp b/src/client/sky.cpp
index 0ab7398f2..aacc47250 100644
--- a/src/client/sky.cpp
+++ b/src/client/sky.cpp
@@ -39,13 +39,8 @@ static video::SMaterial baseMaterial()
{
video::SMaterial mat;
mat.Lighting = false;
-#if IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR > 8
mat.ZBuffer = video::ECFN_DISABLED;
mat.ZWriteEnable = video::EZW_OFF;
-#else
- mat.ZWriteEnable = false;
- mat.ZBuffer = video::ECFN_NEVER;
-#endif
mat.AntiAliasing = 0;
mat.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
mat.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;