Do not use definitions from mongoose

This commit is contained in:
Diavolo
2022-08-01 19:15:03 +02:00
parent 675a1145a8
commit 7866d255d9
3 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,5 @@
#pragma once
#include <mongoose.h>
namespace Components
{

View File

@ -232,7 +232,7 @@ namespace Components
{
auto* imageList = static_cast<Game::ImageList*>(data);
assert(imageList->count < ARRAY_SIZE(imageList->image));
assert(imageList->count < ARRAYSIZE(imageList->image));
if (header.image->texture.basemap)
{