X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=vg.h;h=5cae23e045981fc934f9083a3e6018c4cd4655fc;hb=80d50176e1a15cadd970f8e50540ad088600320f;hp=0e9e3e55fe1022fa1123a6dc8dd8f2d56b504c4f;hpb=5e457ededb92af6948a2a7a0d09f09eab2bb697c;p=vg.git diff --git a/vg.h b/vg.h index 0e9e3e5..5cae23e 100644 --- a/vg.h +++ b/vg.h @@ -568,8 +568,7 @@ VG_STATIC int _vg_crashscreen(void) return 0; } -VG_STATIC void _vg_gameloop(void) -{ +VG_STATIC void _vg_gameloop(void){ //vg.time_fixed_accumulator = 0.75f * (1.0f/60.0f); vg.time_hp = SDL_GetPerformanceCounter(); @@ -619,8 +618,8 @@ VG_STATIC void _vg_gameloop(void) } if( vg.loader_ring > 0.01f ){ - vg.loader_ring -= vg.time_frame_delta * 0.5f; _vg_loader_render_ring( vg.loader_ring ); + vg.loader_ring -= vg.time_frame_delta * 0.5f; } vg.time_frame_delta = 0.0;