Fix batch display in avatar render info (%d is not for doubles).

Thu, 15 Feb 2018 16:58:44 -0800

author
Graham Linden graham@lindenlab.com
date
Thu, 15 Feb 2018 16:58:44 -0800
changeset 55289
633897a9e4df
parent 55288
ef907fd4ba25
child 55290
74516ccad384

Fix batch display in avatar render info (%d is not for doubles).

indra/newview/llviewerwindow.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llviewerwindow.cpp	Thu Feb 15 23:23:46 2018 +0000
     1.2 +++ b/indra/newview/llviewerwindow.cpp	Thu Feb 15 16:58:44 2018 -0800
     1.3 @@ -614,7 +614,7 @@
     1.4  
     1.5   			if (last_frame_recording.getSampleCount(LLPipeline::sStatBatchSize) > 0)
     1.6  			{
     1.7 - 				addText(xpos, ypos, llformat("Batch min/max/mean: %d/%d/%d", last_frame_recording.getMin(LLPipeline::sStatBatchSize), last_frame_recording.getMax(LLPipeline::sStatBatchSize), last_frame_recording.getMean(LLPipeline::sStatBatchSize)));
     1.8 +                addText(xpos, ypos, llformat("Batch min/max/mean: %d/%d/%d", (U32)last_frame_recording.getMin(LLPipeline::sStatBatchSize), (U32)last_frame_recording.getMax(LLPipeline::sStatBatchSize), (U32)last_frame_recording.getMean(LLPipeline::sStatBatchSize)));
     1.9  			}
    1.10              ypos += y_inc;
    1.11  

mercurial