summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewerlinux.cpp
diff options
context:
space:
mode:
authorRye <rye@lindenlab.com>2025-02-02 02:43:46 -0500
committerRye <rye@lindenlab.com>2025-02-11 05:04:05 -0500
commit6fcd349f374710a3f4e0e0585bb6d7af86ebb66d (patch)
treed1a2e98993c6e4f50230b8d87885ea2ae416c3cf /indra/newview/llappviewerlinux.cpp
parent51ed6b5424a626499ddb7f95e6da7cf34b375f6a (diff)
Fix Tracy memory profiling overloads for aligned allocations
Fix disabling renderdoc support Improve ll_aligned_alloc functions on darwin for 32 and 64byte aligned by utilizing posix_memalign
Diffstat (limited to 'indra/newview/llappviewerlinux.cpp')
-rw-r--r--indra/newview/llappviewerlinux.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llappviewerlinux.cpp b/indra/newview/llappviewerlinux.cpp
index 1709970156..89d19d180b 100644
--- a/indra/newview/llappviewerlinux.cpp
+++ b/indra/newview/llappviewerlinux.cpp
@@ -73,6 +73,11 @@ static void exceptionTerminateHandler()
int main( int argc, char **argv )
{
+ // Call Tracy first thing to have it allocate memory
+ // https://github.com/wolfpld/tracy/issues/196
+ LL_PROFILER_FRAME_END;
+ LL_PROFILER_SET_THREAD_NAME("App");
+
gArgC = argc;
gArgV = argv;