summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-28 10:36:21 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-28 10:36:21 -0800
commit8da9a472b212d8d8d376a32a442fbf61baa1fae4 (patch)
tree48da87fb430e55e5c88bbdafa43aad626cd377d8
parent50bf40a6313e1e8fd076ad3465dc9777e6a8e83b (diff)
CID-383
Checker: UNINIT_CTOR Function: LLFloaterHardwareSettings::LLFloaterHardwareSettings(const LLSD &) File: /indra/newview/llfloaterhardwaresettings.cpp
-rw-r--r--indra/newview/llfloaterhardwaresettings.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/indra/newview/llfloaterhardwaresettings.cpp b/indra/newview/llfloaterhardwaresettings.cpp
index 31b494b590..b2564eb2b6 100644
--- a/indra/newview/llfloaterhardwaresettings.cpp
+++ b/indra/newview/llfloaterhardwaresettings.cpp
@@ -50,7 +50,17 @@
#include "llsliderctrl.h"
LLFloaterHardwareSettings::LLFloaterHardwareSettings(const LLSD& key)
- : LLFloater(key)
+ : LLFloater(key),
+
+ // these should be set on imminent refresh() call,
+ // but init them anyway
+ mUseVBO(0),
+ mUseAniso(0),
+ mFSAASamples(0),
+ mGamma(0.0),
+ mVideoCardMem(0),
+ mFogRatio(0.0),
+ mProbeHardwareOnStartup(FALSE)
{
//LLUICtrlFactory::getInstance()->buildFloater(this, "floater_hardware_settings.xml");
}