diff options
author | Richard Nelson <richard@lindenlab.com> | 2009-10-14 00:19:26 +0000 |
---|---|---|
committer | Richard Nelson <richard@lindenlab.com> | 2009-10-14 00:19:26 +0000 |
commit | de71b50429079af64eefb73cb1f1755bb07993d1 (patch) | |
tree | a44ae6e512df0a67ab5bad1f9bfaa4b6db846444 /indra/newview/llfloaterhardwaresettings.cpp | |
parent | 15218864c31b991842700ed5584fc495117f7527 (diff) |
use sliderctrl not slider when referencing texture memory ctrls
reviewed by Angela
Diffstat (limited to 'indra/newview/llfloaterhardwaresettings.cpp')
-rw-r--r-- | indra/newview/llfloaterhardwaresettings.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfloaterhardwaresettings.cpp b/indra/newview/llfloaterhardwaresettings.cpp index 3c3508b65c..9947cdc217 100644 --- a/indra/newview/llfloaterhardwaresettings.cpp +++ b/indra/newview/llfloaterhardwaresettings.cpp @@ -47,7 +47,7 @@ #include "llradiogroup.h" #include "lluictrlfactory.h" #include "llwindow.h" -#include "llslider.h" +#include "llsliderctrl.h" LLFloaterHardwareSettings::LLFloaterHardwareSettings(const LLSD& key) : LLFloater(key) @@ -91,8 +91,8 @@ void LLFloaterHardwareSettings::refreshEnabledState() { S32 min_tex_mem = LLViewerTextureList::getMinVideoRamSetting(); S32 max_tex_mem = LLViewerTextureList::getMaxVideoRamSetting(); - getChild<LLSlider>("GrapicsCardTextureMemory")->setMinValue(min_tex_mem); - getChild<LLSlider>("GrapicsCardTextureMemory")->setMinValue(max_tex_mem); + getChild<LLSliderCtrl>("GraphicsCardTextureMemory")->setMinValue(min_tex_mem); + getChild<LLSliderCtrl>("GraphicsCardTextureMemory")->setMaxValue(max_tex_mem); if (!LLFeatureManager::getInstance()->isFeatureAvailable("RenderVBOEnable") || !gGLManager.mHasVertexBufferObject) |