summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-04-13 12:09:37 -0700
committerMerov Linden <merov@lindenlab.com>2012-04-13 12:09:37 -0700
commit7d8fdf9a85e176057422fcb20011287c1cb528ef (patch)
tree1ec72093c320841b7eaf79d1dbe8699014f9df2f /indra/newview/llappviewer.cpp
parent18fa5cd60ba673ce168095d277e9e34599b56547 (diff)
SH-3080 : Fix wrong settings reading code (will crash on some machine)
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 40920dfd07..23c7b47860 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -1945,7 +1945,7 @@ bool LLAppViewer::initThreads()
static const bool enable_threads = true;
#endif
- LLImage::initClass(gSavedSettings.getBOOL("TextureNewByteRange"),gSavedSettings.getBOOL("TextureReverseByteRange"));
+ LLImage::initClass(gSavedSettings.getBOOL("TextureNewByteRange"),gSavedSettings.getS32("TextureReverseByteRange"));
LLVFSThread::initClass(enable_threads && false);
LLLFSThread::initClass(enable_threads && false);