medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 010c224ba3a8b297ff5660452e0ae51c0b1b061d
parent 32583202329b1d8972035584e5973b794faa56f6
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Tue Sep  6 21:14:18 -0700

Print FPS last so it doesn't get spammed away by GL resource leaks

Diffstat:
main.cc | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/main.cc b/main.cc @@ -151,11 +151,12 @@ int main( int argc, char ** argv ) { } const float program_run_time = glfwGetTime() - program_start_time; - printf( "FPS: %.1f\n", total_frames / program_run_time ); unload_game( &game ); gl_term(); + printf( "FPS: %.1f\n", total_frames / program_run_time ); + return 0; }