diff options
Diffstat (limited to 'indra/newview/lldebugview.cpp')
-rw-r--r-- | indra/newview/lldebugview.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/lldebugview.cpp b/indra/newview/lldebugview.cpp index 2af29260f4..bd5b9c30a2 100644 --- a/indra/newview/lldebugview.cpp +++ b/indra/newview/lldebugview.cpp @@ -43,6 +43,8 @@ #include "imageids.h" #include "llviewercontrol.h" #include "llviewerwindow.h" +#include "llappviewer.h" +#include "llmemoryview.h" // // Globals @@ -81,7 +83,8 @@ LLDebugView::LLDebugView(const LLDebugView::Params& p) mFastTimerView->setVisible(FALSE); // start invisible addChild(mFastTimerView); - r.set(25, rect.getHeight() - 50, rect.getWidth()/2, rect.getHeight() - 450); + r.set(25, rect.getHeight() - 50, (S32) (gViewerWindow->getVirtualWindowRect().getWidth() * 0.75f), + (S32) (gViewerWindow->getVirtualWindowRect().getHeight() * 0.75f)); LLMemoryView::Params mp; mp.name("memory"); mp.rect(r); |