From b2627d927f1642bea84b92adfccd9403676e1341 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sun, 24 May 2009 02:59:24 -0500 Subject: Second Life viewer sources 1.23.2-RC --- linden/indra/newview/llfloaterabout.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'linden/indra/newview/llfloaterabout.cpp') diff --git a/linden/indra/newview/llfloaterabout.cpp b/linden/indra/newview/llfloaterabout.cpp index 2652387..810799d 100644 --- a/linden/indra/newview/llfloaterabout.cpp +++ b/linden/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"); -- cgit v1.1