diff options
author | Dave Parks <davep@lindenlab.com> | 2011-09-30 12:42:30 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-09-30 12:42:30 -0500 |
commit | 4ff4d99c4751b905c12ab56289b63e39ef6269de (patch) | |
tree | 59888efb5f650b0a06ad70cfc296d93b90a1654b /indra/newview/llappviewer.cpp | |
parent | f7ddde3807a3437cc036e687d216ef69feb6214b (diff) | |
parent | 8c1f8c77469a3b1dbc66f56f8722c0c01fdddf8a (diff) |
merge
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r-- | indra/newview/llappviewer.cpp | 5 |
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 ; |