No longer overwrite memory when compiling with _IRR_MATERIAL_MAX_TEXTURES_ set to a value > 8

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5675 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2019-01-16 18:22:04 +00:00
parent f16f173fcb
commit 91247910b8
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ namespace video
#endif
#endif
#endif
//! Not used
ETS_COUNT
//! Only used internally
ETS_COUNT = ETS_TEXTURE_0 + _IRR_MATERIAL_MAX_TEXTURES_
};
//! Special render targets, which usually map to dedicated hardware