From 840f9b8678f607aecc15d47bc77248c4ac8b8574 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 4 Feb 2008 00:54:30 +0000 Subject: tweaked console client status with timer and fps core connect/disconnect --- src/client/video.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/client/video.cc') diff --git a/src/client/video.cc b/src/client/video.cc index 4018834..bfff445 100644 --- a/src/client/video.cc +++ b/src/client/video.cc @@ -88,10 +88,9 @@ void Video::init() return; } -void Video::draw(float elapsed) +void Video::frame(float seconds) { - if (core::game() && core::game()->ready()) - view.draw(elapsed); + view.frame(seconds); SDL_GL_SwapBuffers(); } -- cgit v1.2.3