| Index: tools/viewer/sk_app/android/main_android.cpp
|
| diff --git a/tools/viewer/sk_app/android/main_android.cpp b/tools/viewer/sk_app/android/main_android.cpp
|
| index 9334f0ccd3bc4fff068b2d40e0868d36bdacd7e6..ee2dab570df62a5af8d854baf40be4848433060b 100644
|
| --- a/tools/viewer/sk_app/android/main_android.cpp
|
| +++ b/tools/viewer/sk_app/android/main_android.cpp
|
| @@ -13,8 +13,6 @@
|
| #include "../Application.h"
|
| #include "Timer.h"
|
|
|
| -static double now_ms() { return SkTime::GetNSecs() * 1e-6; }
|
| -
|
| using sk_app::Application;
|
|
|
| /**
|
| @@ -36,9 +34,6 @@ void android_main(struct android_app* state) {
|
| const_cast<char**>(gCmdLine),
|
| state));
|
|
|
| - double currentTime = 0.0;
|
| - double previousTime = 0.0;
|
| -
|
| // loop waiting for stuff to do.
|
| while (1) {
|
| // Read all pending events.
|
| @@ -60,9 +55,7 @@ void android_main(struct android_app* state) {
|
| return;
|
| }
|
|
|
| - previousTime = currentTime;
|
| - currentTime = now_ms();
|
| - vkApp->onIdle(currentTime - previousTime);
|
| + vkApp->onIdle();
|
| }
|
| }
|
| }
|
|
|