aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolalpha.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lldrawpoolalpha.cpp')
-rw-r--r--linden/indra/newview/lldrawpoolalpha.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/lldrawpoolalpha.cpp b/linden/indra/newview/lldrawpoolalpha.cpp
index 1ad7132..cc2600e 100644
--- a/linden/indra/newview/lldrawpoolalpha.cpp
+++ b/linden/indra/newview/lldrawpoolalpha.cpp
@@ -208,7 +208,7 @@ void LLDrawPoolAlpha::renderGroupAlpha(LLSpatialGroup* group, U32 type, U32 mask
208 // and it's close 208 // and it's close
209 if(is_particle && !gSavedSettings.getBOOL("RenderUseShaderNearParticles")) 209 if(is_particle && !gSavedSettings.getBOOL("RenderUseShaderNearParticles"))
210 { 210 {
211 if((dist < gCamera->getFar() * gSavedSettings.getF32("RenderShaderParticleThreshold"))) 211 if((dist < LLViewerCamera::getInstance()->getFar() * gSavedSettings.getF32("RenderShaderParticleThreshold")))
212 { 212 {
213 use_shaders = FALSE; 213 use_shaders = FALSE;
214 } 214 }