oops, overly optimistic frame rate reporting

This commit is contained in:
David Rose 2002-03-06 23:06:55 +00:00
parent 8e9e7aa3ca
commit 61a52a99ad
1 changed files with 0 additions and 5 deletions

View File

@ -306,15 +306,10 @@ main(int argc, char *argv[]) {
// Tick the clock once so we won't count the time spent loading up
// files, above, in our frame rate average.
ClockObject::get_global_clock()->tick();
start_time = ClockObject::get_global_clock()->get_frame_time();
start_frame_count = ClockObject::get_global_clock()->get_frame_count();
// This is our main update loop. Loop here until someone
// (e.g. event_esc) sets run_flag to false.
ClockObject *clock = ClockObject::get_global_clock();
while (run_flag) {
clock->tick();
traverse_data_graph(data_root);
event_handler.process_events();
engine->render_frame();