summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2021-09-27 23:56:06 +0000
committerDave Parks <davep@lindenlab.com>2021-09-27 23:56:06 +0000
commit675514bdb372c25b50dd2c42b06633895c86b8ce (patch)
tree4d659b9600e12495cace9f88dd94ea23ab0c9aff /indra/newview/llviewerwindow.cpp
parent78007d2592290582e3b3fbff002376ad0561779f (diff)
SL-16093 Don't force the console window to be open on developer builds because it causes frame stalls while logging.
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 1d13a306ef..2157585364 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -5280,6 +5280,7 @@ void LLViewerWindow::setup3DRender()
void LLViewerWindow::setup3DViewport(S32 x_offset, S32 y_offset)
{
+ LL_PROFILE_ZONE_SCOPED
gGLViewport[0] = mWorldViewRectRaw.mLeft + x_offset;
gGLViewport[1] = mWorldViewRectRaw.mBottom + y_offset;
gGLViewport[2] = mWorldViewRectRaw.getWidth();