mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-19 18:04:56 +00:00
build: exclude Tracy from release builds
This commit is contained in:
parent
8abc43a03d
commit
2dc5755799
3 changed files with 17 additions and 1 deletions
|
@ -14,7 +14,11 @@
|
|||
#include <tracy/Tracy.hpp>
|
||||
|
||||
static inline bool IsProfilerConnected() {
|
||||
#if TRACY_ENABLE
|
||||
return tracy::GetProfiler().IsConnected();
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
#define TRACY_GPU_ENABLED 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue