summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterabout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterabout.cpp')
-rw-r--r--indra/newview/llfloaterabout.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/indra/newview/llfloaterabout.cpp b/indra/newview/llfloaterabout.cpp
index 2652387bfe..810799d27c 100644
--- a/indra/newview/llfloaterabout.cpp
+++ b/indra/newview/llfloaterabout.cpp
@@ -59,7 +59,11 @@
#include "llappviewer.h"
#include "llglheaders.h"
#include "llmediamanager.h"
+#include "llwindow.h"
+#if LL_WINDOWS
+#include "lldxhardware.h"
+#endif
extern LLCPUInfo gSysCPU;
extern LLMemoryInfo gSysMemory;
@@ -193,6 +197,20 @@ LLFloaterAbout::LLFloaterAbout()
support.append( (const char*) glGetString(GL_RENDERER) );
support.append("\n");
+#if LL_WINDOWS
+ getWindow()->incBusyCount();
+ getWindow()->setCursor(UI_CURSOR_ARROW);
+ support.append("Windows Graphics Driver Version: ");
+ LLSD driver_info = gDXHardware.getDisplayInfo();
+ if (driver_info.has("DriverVersion"))
+ {
+ support.append(driver_info["DriverVersion"]);
+ }
+ support.append("\n");
+ getWindow()->decBusyCount();
+ getWindow()->setCursor(UI_CURSOR_ARROW);
+#endif
+
support.append("OpenGL Version: ");
support.append( (const char*) glGetString(GL_VERSION) );
support.append("\n");