release build setup

This commit is contained in:
Till Wübbers
2025-03-16 02:00:33 +01:00
parent 442fd23a0b
commit ebf29b058a
9 changed files with 28 additions and 10 deletions

View File

@@ -7,8 +7,10 @@
#include "bx/bx.h"
#include "bx/timer.h"
#ifdef TRACY_ENABLE
#include <client/TracyProfiler.hpp>
#include <tracy/tracy.hpp>
#endif
#include <tracy/Tracy.hpp>
namespace Game
{
@@ -26,7 +28,10 @@ namespace Game
void Setup(SharedData& shared)
{
LOG("Game Setup Start!");
#ifdef TRACY_ENABLE
LOG("Tracy is enabled");
tracy::StartupProfiler();
#endif
if (shared.Game.PermanentStorage == nullptr)
{
@@ -89,6 +94,8 @@ namespace Game
{
LOG("Shutdown");
SetupInstance.Rendering.Shutdown();
#ifdef TRACY_ENABLE
tracy::ShutdownProfiler();
#endif
}
} // namespace Game