summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterhardwaresettings.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2014-02-27 17:49:50 -0600
committerDave Parks <davep@lindenlab.com>2014-02-27 17:49:50 -0600
commita8e22e11c5d26b3cdfa2d67919fdde8272d52ea4 (patch)
treed37551dbfb1ae24ae73409848faa6416e70272d5 /indra/newview/llfloaterhardwaresettings.h
parentbfe520387ed3061ba55ea2e58c565016e7a3159e (diff)
MAINT-2980 Rename "Texture Memory" to "Video Memory" in hardware floater and increase limit.
Limit should be however much vram is installed, but underneath the hood, fudge how much memory is used for textures to avoid swapping. Also, catch exceptions when attempting to build a GL context on windows and display an error dialog instead of crashing.
Diffstat (limited to 'indra/newview/llfloaterhardwaresettings.h')
-rwxr-xr-xindra/newview/llfloaterhardwaresettings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloaterhardwaresettings.h b/indra/newview/llfloaterhardwaresettings.h
index 626771b1d2..63d86d5667 100755
--- a/indra/newview/llfloaterhardwaresettings.h
+++ b/indra/newview/llfloaterhardwaresettings.h
@@ -64,6 +64,8 @@ public:
/// don't apply the changed values
void cancel();
+ void onSetVRAM();
+
/// refresh the enabled values
void refreshEnabledState();