diff options
author | 2012-09-10 11:52:52 +0000 | |
---|---|---|
committer | 2012-09-10 11:52:52 +0000 | |
commit | 43e10145911bde6ac8c3f14fd46611a13c76f8b9 (patch) | |
tree | 5f857c548a2e417df2a3168eba1c74bf7f3dd020 /samplecode | |
parent | 4bbec456d9454ff09668d99aa4eecb7257751748 (diff) |
update MS counter to show actual milliseconds
git-svn-id: http://skia.googlecode.com/svn/trunk@5458 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode')
-rw-r--r-- | samplecode/SampleApp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index 0e22dc5120..f8f8111d44 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp @@ -2119,7 +2119,7 @@ void SampleWindow::updateTitle() { } if (fMeasureFPS) { - title.appendf(" %6.1f ms", fMeasureFPS_Time / (float)FPS_REPEAT_MULTIPLIER); + title.appendf(" %8.3f ms", fMeasureFPS_Time / (float)FPS_REPEAT_COUNT); } if (SampleView::IsSampleView(view)) { switch (fPipeState) { |