Files
bgfx/3rdparty/meshoptimizer/src/allocator.cpp
Бранимир Караџић 66e2144cad Updated meshoptimizer.
2022-02-06 08:03:51 -08:00

9 lines
369 B
C++

// This file is part of meshoptimizer library; see meshoptimizer.h for version/license details
#include "meshoptimizer.h"
void meshopt_setAllocator(void* (MESHOPTIMIZER_ALLOC_CALLCONV *allocate)(size_t), void (MESHOPTIMIZER_ALLOC_CALLCONV *deallocate)(void*))
{
meshopt_Allocator::Storage::allocate = allocate;
meshopt_Allocator::Storage::deallocate = deallocate;
}