diff options
author | Dave Parks <davep@lindenlab.com> | 2011-09-20 03:34:09 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-09-20 03:34:09 -0500 |
commit | 66acb932ba7bbd7fecbe78a34e753b5aab2d2104 (patch) | |
tree | 87ae87b36d20082008feeb7c46c38d2d6d498332 /indra/newview/llappviewer.cpp | |
parent | 9ea41c8094695365bc7ea10165ffd54cda204e88 (diff) |
SH-2244 Add "RenderGLCoreProfile" debug setting that allows the viewer to start with a non-compatibility-profile OpenGL context.
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r-- | indra/newview/llappviewer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 7e597fe5dc..bb0679de74 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -518,6 +518,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; |