replaced PRINT_LOG and PRINT_ERR

Signed-off-by: h4570 <sandro.sobczynski@gmail.com>
This commit is contained in:
h4570
2021-05-26 19:36:59 +02:00
parent d8458b98e0
commit fafc66d35c
21 changed files with 136 additions and 272 deletions
@@ -119,10 +119,8 @@ public:
const void removeById(const u32 &t_texId)
{
s32 index = getIndexOf(t_texId);
if (index != -1)
removeByIndex(index);
else
PRINT_ERR("Cant remove texture, because it was not found!");
assertMsg(index != -1, "Cant remove texture, because it was not found!");
removeByIndex(index);
}
private: