diff options
| author | Loren Shih <seraph@lindenlab.com> | 2010-10-11 17:37:59 -0400 |
|---|---|---|
| committer | Loren Shih <seraph@lindenlab.com> | 2010-10-11 17:37:59 -0400 |
| commit | 3a4e38efa6547a989b19f3fb1195901571884f87 (patch) | |
| tree | f8eecb083ad296fcc0e8ceabc60e4ab3639625d3 /indra/newview/pipeline.cpp | |
| parent | ac6149314e8b8c1f924504969c8a3f7617c7c6a9 (diff) | |
SH-280 FIXED Anti-aliasing broken
SH-287 FIXED Anti-aliasing setting does not take effect until relog
Added logic to control RenderUseFBO setting based on graphics quality. RenderUseFBO controls whether anti-aliasing is enabled.
Diffstat (limited to 'indra/newview/pipeline.cpp')
| -rw-r--r-- | indra/newview/pipeline.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index e69b0a2996..cb24720e7b 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -870,6 +870,11 @@ BOOL LLPipeline::canUseWindLightShadersOnObjects() const && LLViewerShaderMgr::instance()->getVertexShaderLevel(LLViewerShaderMgr::SHADER_OBJECT) > 0); } +BOOL LLPipeline::canUseAntiAliasing() const +{ + return (gSavedSettings.getBOOL("RenderUseFBO")); +} + void LLPipeline::unloadShaders() { LLMemType mt_us(LLMemType::MTYPE_PIPELINE_UNLOAD_SHADERS); |
