summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2010-10-11 15:43:00 -0700
committerMerov Linden <merov@lindenlab.com>2010-10-11 15:43:00 -0700
commitf90befad07c5868d6e1a2c439347d0590437be62 (patch)
treec443f7e8e08f32564ec12fe5d6358b977dcbf057 /indra/newview/pipeline.cpp
parent6ed0fa78d45e805c80ba32b75357229b49af6229 (diff)
parentf564d470d529e46906532b4c4d0229dbf858eb3d (diff)
merge pending beta changes to viewer-beta
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index c758ce991f..b4a5777f10 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);