diff --git a/src/dawn/samples/Animometer.cpp b/src/dawn/samples/Animometer.cpp index 9d870c9ed7..4c509d8109 100644 --- a/src/dawn/samples/Animometer.cpp +++ b/src/dawn/samples/Animometer.cpp @@ -190,7 +190,8 @@ int main(int argc, const char* argv[]) { frameCount++; frame(); if (frameCount % 60 == 0) { - printf("FPS: %lf\n", static_cast(frameCount) / timer->GetElapsedTime()); + printf("FPS: %lf\n", 60.0 / timer->GetElapsedTime()); + timer->Start(); } } }