1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-01 13:13:53 +00:00

Fixing functions case to match the source capitalization rules

This commit is contained in:
Andrey Voroshilov 2020-07-07 03:12:02 -07:00
parent da5e58682f
commit 6a72560989
2 changed files with 6 additions and 6 deletions

View File

@ -915,7 +915,7 @@ struct ProfilerThreadData
#ifdef TRACY_MANUAL_LIFETIME #ifdef TRACY_MANUAL_LIFETIME
ProfilerData* s_profilerData = nullptr; ProfilerData* s_profilerData = nullptr;
TRACY_API void startupProfiler() TRACY_API void StartupProfiler()
{ {
s_profilerData = new ProfilerData; s_profilerData = new ProfilerData;
s_profilerData->profiler.SpawnWorkerThreads(); s_profilerData->profiler.SpawnWorkerThreads();
@ -925,7 +925,7 @@ static ProfilerData& GetProfilerData()
while (!s_profilerData); while (!s_profilerData);
return *s_profilerData; return *s_profilerData;
} }
TRACY_API void shutdownProfiler() TRACY_API void ShutdownProfiler()
{ {
delete s_profilerData; delete s_profilerData;
s_profilerData = nullptr; s_profilerData = nullptr;
@ -1025,11 +1025,11 @@ thread_local LuaZoneState init_order(104) s_luaZoneState { 0, false };
#ifdef TRACY_MANUAL_LIFETIME #ifdef TRACY_MANUAL_LIFETIME
Profiler* s_profiler = nullptr; Profiler* s_profiler = nullptr;
TRACY_API void startupProfiler() TRACY_API void StartupProfiler()
{ {
s_profiler = new Profiler; s_profiler = new Profiler;
} }
TRACY_API void shutdownProfiler() TRACY_API void ShutdownProfiler()
{ {
delete s_profiler; delete s_profiler;
s_profiler = nullptr; s_profiler = nullptr;

View File

@ -42,8 +42,8 @@
namespace tracy namespace tracy
{ {
#ifdef TRACY_MANUAL_LIFETIME #ifdef TRACY_MANUAL_LIFETIME
void startupProfiler(); void StartupProfiler();
void shutdownProfiler(); void ShutdownProfiler();
#endif #endif
class GpuCtx; class GpuCtx;