summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-09-30 12:42:30 -0500
committerDave Parks <davep@lindenlab.com>2011-09-30 12:42:30 -0500
commit4ff4d99c4751b905c12ab56289b63e39ef6269de (patch)
tree59888efb5f650b0a06ad70cfc296d93b90a1654b /indra/newview/llappviewer.cpp
parentf7ddde3807a3437cc036e687d216ef69feb6214b (diff)
parent8c1f8c77469a3b1dbc66f56f8722c0c01fdddf8a (diff)
merge
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 11e2e1e607..fcb256fbfc 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -520,6 +520,8 @@ static void settings_to_globals()
LLSurface::setTextureSize(gSavedSettings.getU32("RegionTextureSize"));
+ LLRender::sGLCoreProfile = gSavedSettings.getBOOL("RenderGLCoreProfile");
+
LLImageGL::sGlobalUseAnisotropic = gSavedSettings.getBOOL("RenderAnisotropic");
LLVOVolume::sLODFactor = gSavedSettings.getF32("RenderVolumeLODFactor");
LLVOVolume::sDistanceFactor = 1.f-LLVOVolume::sLODFactor * 0.1f;
@@ -771,6 +773,9 @@ bool LLAppViewer::init()
LLViewerAssetStatsFF::init();
}
+ // init main thread's local data pool before initializing the threads - Nyx
+ LLThreadLocalData::init();
+
initThreads();
LL_INFOS("InitInfo") << "Threads initialized." << LL_ENDL ;