aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterabout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterabout.cpp')
-rw-r--r--linden/indra/newview/llfloaterabout.cpp29
1 files changed, 28 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterabout.cpp b/linden/indra/newview/llfloaterabout.cpp
index 57c5339..686353b 100644
--- a/linden/indra/newview/llfloaterabout.cpp
+++ b/linden/indra/newview/llfloaterabout.cpp
@@ -18,7 +18,8 @@
18 * There are special exceptions to the terms and conditions of the GPL as 18 * There are special exceptions to the terms and conditions of the GPL as
19 * it is applied to this Source Code. View the full text of the exception 19 * it is applied to this Source Code. View the full text of the exception
20 * in the file doc/FLOSS-exception.txt in this software distribution, or 20 * in the file doc/FLOSS-exception.txt in this software distribution, or
21 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception 21 * online at
22 * http://secondlifegrid.net/programs/open_source/licensing/flossexception
22 * 23 *
23 * By copying, modifying or distributing this software, you acknowledge 24 * By copying, modifying or distributing this software, you acknowledge
24 * that you have read and understood your obligations described above, 25 * that you have read and understood your obligations described above,
@@ -58,7 +59,11 @@
58#include "llappviewer.h" 59#include "llappviewer.h"
59#include "llglheaders.h" 60#include "llglheaders.h"
60#include "llmediamanager.h" 61#include "llmediamanager.h"
62#include "llwindow.h"
61 63
64#if LL_WINDOWS
65#include "lldxhardware.h"
66#endif
62 67
63extern LLCPUInfo gSysCPU; 68extern LLCPUInfo gSysCPU;
64extern LLMemoryInfo gSysMemory; 69extern LLMemoryInfo gSysMemory;
@@ -124,6 +129,14 @@ LLFloaterAbout::LLFloaterAbout()
124 std::string support; 129 std::string support;
125 support.append("\n\n"); 130 support.append("\n\n");
126 131
132#if LL_MSVC
133 support.append(llformat("Built with MSVC version %d\n\n", _MSC_VER));
134#endif
135
136#if LL_GNUC
137 support.append(llformat("Built with GCC version %d\n\n", GCC_VERSION));
138#endif
139
127 // Position 140 // Position
128 LLViewerRegion* region = gAgent.getRegion(); 141 LLViewerRegion* region = gAgent.getRegion();
129// [RLVa:KB] - Version: 1.22.11 | Checked: 2009-07-04 (RLVa-1.0.0a) 142// [RLVa:KB] - Version: 1.22.11 | Checked: 2009-07-04 (RLVa-1.0.0a)
@@ -195,6 +208,20 @@ LLFloaterAbout::LLFloaterAbout()
195 support.append( (const char*) glGetString(GL_RENDERER) ); 208 support.append( (const char*) glGetString(GL_RENDERER) );
196 support.append("\n"); 209 support.append("\n");
197 210
211#if LL_WINDOWS
212 getWindow()->incBusyCount();
213 getWindow()->setCursor(UI_CURSOR_ARROW);
214 support.append("Windows Graphics Driver Version: ");
215 LLSD driver_info = gDXHardware.getDisplayInfo();
216 if (driver_info.has("DriverVersion"))
217 {
218 support.append(driver_info["DriverVersion"]);
219 }
220 support.append("\n");
221 getWindow()->decBusyCount();
222 getWindow()->setCursor(UI_CURSOR_ARROW);
223#endif
224
198 support.append("OpenGL Version: "); 225 support.append("OpenGL Version: ");
199 support.append( (const char*) glGetString(GL_VERSION) ); 226 support.append( (const char*) glGetString(GL_VERSION) );
200 support.append("\n"); 227 support.append("\n");