Fix compilation issues

This commit is contained in:
Wojtek Figat
2025-05-25 17:40:00 +02:00
parent 98e59450f1
commit 8f9fa6995e
2 changed files with 14 additions and 1 deletions

View File

@@ -290,7 +290,7 @@ void* Win32Platform::AllocatePages(uint64 numPages, uint64 pageSize)
if (!ptr)
OutOfMemory();
#if COMPILE_WITH_PROFILER
OnMemoryAlloc(ptr, size);
OnMemoryAlloc(ptr, numBytes);
#endif
return ptr;
}