release build setup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user