summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-07-17 20:28:02 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-07-17 20:28:02 +0300
commit44906ac0d44d3c3d1dc6dbf0d5e90926529e108d (patch)
tree49a40bcb81815f22c21f2e90858ffefd05401e25 /indra/newview
parent2c93c14c9d6cf6940169d33b806dede90e60033f (diff)
SL-13507 Viewer should log resolution of all associated displays
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llappviewer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 7c0124322c..d82e6fc58c 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -3490,6 +3490,12 @@ void LLAppViewer::writeSystemInfo()
gDebugInfo["FirstRunThisInstall"] = gSavedSettings.getBOOL("FirstRunThisInstall");
gDebugInfo["StartupState"] = LLStartUp::getStartupStateString();
+ std::vector<std::string> resolutions = gViewerWindow->getWindow()->getDisplaysResolutionList();
+ for (auto res_iter : resolutions)
+ {
+ gDebugInfo["DisplayInfo"].append(res_iter);
+ }
+
writeDebugInfo(); // Save out debug_info.log early, in case of crash.
}