diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-04-27 17:25:17 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-04-27 17:25:17 -0500 |
commit | 23addd8fb526d93c8223d5f38ba74a140894d8e5 (patch) | |
tree | b7454abbadcbbd1e094ac2b13ccb9a115a15b185 /indra | |
parent | 03c6263fa705b77e9fa2cb458e67d79762e16f09 (diff) |
DRTVWR-559 Fix for crash on GL 3.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 2cb11fc077..c890585b9f 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -961,7 +961,7 @@ void LLPipeline::refreshCachedSettings() WindLightUseAtmosShaders = TRUE; // DEPRECATED -- gSavedSettings.getBOOL("WindLightUseAtmosShaders"); RenderDeferred = TRUE; // DEPRECATED -- gSavedSettings.getBOOL("RenderDeferred"); RenderDeferredSunWash = gSavedSettings.getF32("RenderDeferredSunWash"); - RenderFSAASamples = gSavedSettings.getU32("RenderFSAASamples"); + RenderFSAASamples = LLFeatureManager::getInstance()->isFeatureAvailable("RenderFSAASamples") ? gSavedSettings.getU32("RenderFSAASamples") : 0; RenderResolutionDivisor = gSavedSettings.getU32("RenderResolutionDivisor"); RenderUIBuffer = gSavedSettings.getBOOL("RenderUIBuffer"); RenderShadowDetail = gSavedSettings.getS32("RenderShadowDetail"); |