Add entry for ECF_UNKNOWN to ColorFormatNames.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5575 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2017-11-09 21:11:09 +00:00
parent 413a5b2504
commit 00d79992a0
1 changed files with 2 additions and 1 deletions

View File

@ -130,7 +130,7 @@ namespace video
};
//! Names for ECOLOR_FORMAT types
const c8* const ColorFormatNames[ECF_UNKNOWN+1] =
const c8* const ColorFormatNames[ECF_UNKNOWN+2] =
{
"A1R5G5B5",
"R5G6B5",
@ -163,6 +163,7 @@ namespace video
"D16",
"D32",
"D24S8",
"UNKNOWN",
0
};