summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
authorRunitai Linden <davep@lindenlab.com>2021-09-22 16:50:20 -0500
committerRunitai Linden <davep@lindenlab.com>2021-09-22 16:50:20 -0500
commit9cff7ebc0cf7850b603ef4a4fb1435f72b678735 (patch)
treecd3c2a86f38f5d218e253e17b0c32e0b9603cf8d /indra/llwindow
parentb4bb74c5def3175d99d672b0b26f941b756f5f45 (diff)
parentb1c32db37f74de715b4d6f9e98653f482e05df51 (diff)
Merge remote-tracking branch 'remotes/origin/DRTVWR-541' into DRTVWR-546
# Conflicts: # indra/llcommon/linden_common.h
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 585905893b..714e07da31 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();
@@ -3475,6 +3477,8 @@ BOOL LLWindowWin32::resetDisplayResolution()
void LLWindowWin32::swapBuffers()
{
SwapBuffers(mhDC);
+
+ LL_PROFILER_GPU_COLLECT
}