| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include <tchar.h> | 9 #include <tchar.h> |
| 10 | 10 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 previousTime = currentTime; | 78 previousTime = currentTime; |
| 79 currentTime = now_ms(); | 79 currentTime = now_ms(); |
| 80 app->onIdle(currentTime - previousTime); | 80 app->onIdle(currentTime - previousTime); |
| 81 } | 81 } |
| 82 } | 82 } |
| 83 | 83 |
| 84 delete app; | 84 delete app; |
| 85 | 85 |
| 86 return (int)msg.wParam; | 86 return (int)msg.wParam; |
| 87 } | 87 } |
| OLD | NEW |