add flag to toggle tracy (disabled for now)

This commit is contained in:
2026-02-24 20:39:48 +01:00
parent d88b66c058
commit 349d614611
20 changed files with 153 additions and 24 deletions

View File

@ -1,5 +1,8 @@
#include "tracy.hpp"
#include "config.hpp"
#ifdef TRACY
#include "tracy.hpp"
#include <tracy/Tracy.hpp>
void *operator new(std::size_t count) {
@ -15,3 +18,5 @@ void operator delete(void *ptr, std::size_t count) noexcept {
TracyFreeS(ptr, 20);
free(ptr);
}
#endif