C arrays are so much fun!

This commit is contained in:
Bartosz Taudul 2020-10-06 14:58:42 +02:00
parent 8adfd45453
commit 98e3822c88
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
namespace tracy namespace tracy
{ {
const char* s_tracyStackFrames[] = { const char* s_tracyStackFrames_[] = {
"tracy::Callstack", "tracy::Callstack",
"tracy::Callstack(int)", "tracy::Callstack(int)",
"tracy::GpuCtxScope::{ctor}", "tracy::GpuCtxScope::{ctor}",
@ -21,4 +21,6 @@ const char* s_tracyStackFrames[] = {
nullptr nullptr
}; };
const char** s_tracyStackFrames = s_tracyStackFrames_;
} }

View File

@ -4,7 +4,7 @@
namespace tracy namespace tracy
{ {
const char* s_tracyStackFrames[]; extern const char** s_tracyStackFrames;
} }