meshoptimizer: Sync with upstream commit 8a7d69caa

8a7d69caa6
This commit is contained in:
Rémi Verschelde
2022-05-17 23:24:52 +02:00
parent 311de59e3c
commit e4e61df438
5 changed files with 55 additions and 46 deletions

View File

@@ -1,7 +1,7 @@
// This file is part of meshoptimizer library; see meshoptimizer.h for version/license details
#include "meshoptimizer.h"
void meshopt_setAllocator(void* (*allocate)(size_t), void (*deallocate)(void*))
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;