summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2021-09-21 15:56:18 -0700
committerPtolemy <ptolemy@lindenlab.com>2021-09-21 16:10:52 -0700
commita35544c701b223ba08f0607c872d8afbb08114f5 (patch)
tree861e742ad5341737e785e039ecbf054cf9ae95e5 /indra/llwindow
parent7fe2856516d9e0de0fda6ff389ad3cc977b2d309 (diff)
SL-16027: Add Tracy OpenGL support
Diffstat (limited to 'indra/llwindow')
-rw-r--r--indra/llwindow/llwindowwin32.cpp4
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
}