diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2021-09-21 15:56:18 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2021-09-21 16:10:52 -0700 |
commit | a35544c701b223ba08f0607c872d8afbb08114f5 (patch) | |
tree | 861e742ad5341737e785e039ecbf054cf9ae95e5 /indra/llwindow | |
parent | 7fe2856516d9e0de0fda6ff389ad3cc977b2d309 (diff) |
SL-16027: Add Tracy OpenGL support
Diffstat (limited to 'indra/llwindow')
-rw-r--r-- | indra/llwindow/llwindowwin32.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp index b2b123f0da..1b8881cc86 100644 --- a/indra/llwindow/llwindowwin32.cpp +++ b/indra/llwindow/llwindowwin32.cpp @@ -1748,6 +1748,8 @@ const S32 max_format = (S32)num_formats - 1; return FALSE; } + LL_PROFILER_GPU_CONTEXT + if (!gGLManager.initGL()) { close(); @@ -3474,6 +3476,8 @@ BOOL LLWindowWin32::resetDisplayResolution() void LLWindowWin32::swapBuffers() { SwapBuffers(mhDC); + + LL_PROFILER_GPU_COLLECT } |