diff options
Diffstat (limited to 'src/core/application.cc')
-rw-r--r-- | src/core/application.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/application.cc b/src/core/application.cc index ec7e89c..38c39a1 100644 --- a/src/core/application.cc +++ b/src/core/application.cc @@ -72,7 +72,6 @@ Application::Application() } application_instance = this; - application_timestamp = 0; application_game = 0; #ifndef _WIN32 @@ -321,10 +320,8 @@ void Application::disconnect() } } -void Application::frame(unsigned long timestamp) +void Application::frame() { - application_timestamp = timestamp; - // execute commands in the buffer CommandBuffer::exec(); @@ -332,7 +329,7 @@ void Application::frame(unsigned long timestamp) return; // run a game interface frame - application_game->frame(timestamp); + application_game->frame(application_timer.timestamp()); if (!application_game->running()) disconnect(); |