Reduce _IRR_MATERIAL_MAX_TEXTURES_ to 4

We don't use any more and reducing this is free memory savings.
This commit is contained in:
sfan5 2021-11-19 20:27:51 +01:00
parent d322b73e4c
commit 2f2d37dce6

@ -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