Added bx::Location, and removed allocator macros.

This commit is contained in:
Branimir Karadžić
2023-04-23 19:19:15 -07:00
parent aa1a4aa1d1
commit ec02df824a
4 changed files with 45 additions and 45 deletions

View File

@@ -519,7 +519,7 @@ namespace bimg
stepA = 1;
}
data = (uint8_t*)BX_ALLOC(_allocator, exrImage.width * exrImage.height * dstBpp/8);
data = (uint8_t*)bx::alloc(_allocator, exrImage.width * exrImage.height * dstBpp/8);
width = exrImage.width;
height = exrImage.height;
@@ -627,7 +627,7 @@ namespace bimg
, false
, data
);
BX_FREE(_allocator, data);
bx::free(_allocator, data);
output->m_hasAlpha = hasAlpha;
}