aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-11-19 20:27:51 +0100
committersfan5 <sfan5@live.de>2021-11-19 20:27:51 +0100
commit2f2d37dce6448715b4154b8c6358289e18ebdf9d (patch)
treee7316c00edf01bb74f432f6c17a36822b586d88b
parentd322b73e4c789171ba679279ece320beade2b3ca (diff)
downloadirrlicht-2f2d37dce6448715b4154b8c6358289e18ebdf9d.tar.xz
Reduce _IRR_MATERIAL_MAX_TEXTURES_ to 4
We don't use any more and reducing this is free memory savings.
-rw-r--r--include/IrrCompileConfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/IrrCompileConfig.h b/include/IrrCompileConfig.h
index 0d6e28e..beeade3 100644
--- a/include/IrrCompileConfig.h
+++ b/include/IrrCompileConfig.h
@@ -151,7 +151,7 @@
//! Maximum number of texture an SMaterial can have, up to 8 are supported by Irrlicht.
-#define _IRR_MATERIAL_MAX_TEXTURES_ 8
+#define _IRR_MATERIAL_MAX_TEXTURES_ 4
//! Add a leak-hunter to Irrlicht which helps finding unreleased reference counted objects.
//! NOTE: This is slow and should only be used for debugging