Fix wrong macro

master
Marc Gilleron 2022-03-31 22:49:53 +01:00
parent ee64ce28cb
commit 0c091a5fbd
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ uint8_t *VoxelMemoryPool::allocate(size_t size) {
pool.mutex.unlock();
} else {
pool.mutex.unlock();
VOXEL_PROFILE_SCOPE("new alloc");
VOXEL_PROFILE_SCOPE_NAMED("new alloc");
// All allocations done in this pool have the same size,
// which must be greater or equal to `size`
const size_t capacity = get_size_from_pool_index(pot);