From 2f2d37dce6448715b4154b8c6358289e18ebdf9d Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 19 Nov 2021 20:27:51 +0100 Subject: [PATCH] Reduce _IRR_MATERIAL_MAX_TEXTURES_ to 4 We don't use any more and reducing this is free memory savings. --- include/IrrCompileConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/IrrCompileConfig.h b/include/IrrCompileConfig.h index 0d6e28ea..beeade34 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