aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvotree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llvotree.cpp')
-rw-r--r--linden/indra/newview/llvotree.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/linden/indra/newview/llvotree.cpp b/linden/indra/newview/llvotree.cpp
index 45a9e0a..a752fca 100644
--- a/linden/indra/newview/llvotree.cpp
+++ b/linden/indra/newview/llvotree.cpp
@@ -406,15 +406,13 @@ void LLVOTree::setPixelAreaAndAngle(LLAgent &agent)
406 406
407void LLVOTree::updateTextures(LLAgent &agent) 407void LLVOTree::updateTextures(LLAgent &agent)
408{ 408{
409 F32 texel_area_ratio = 1.f;
410 F32 cos_angle = 1.f;
411 if (mTreeImagep) 409 if (mTreeImagep)
412 { 410 {
413 if (gPipeline.hasRenderDebugMask(LLPipeline::RENDER_DEBUG_TEXTURE_AREA)) 411 if (gPipeline.hasRenderDebugMask(LLPipeline::RENDER_DEBUG_TEXTURE_AREA))
414 { 412 {
415 setDebugText(llformat("%4.0f", fsqrtf(mPixelArea))); 413 setDebugText(llformat("%4.0f", fsqrtf(mPixelArea)));
416 } 414 }
417 mTreeImagep->addTextureStats(mPixelArea, texel_area_ratio, cos_angle); 415 mTreeImagep->addTextureStats(mPixelArea);
418 } 416 }
419 417
420} 418}