projects
/
vg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed flicker
[vg.git]
/
vg.h
diff --git
a/vg.h
b/vg.h
index 0e9e3e55fe1022fa1123a6dc8dd8f2d56b504c4f..5cae23e045981fc934f9083a3e6018c4cd4655fc 100644
(file)
--- a/
vg.h
+++ b/
vg.h
@@
-568,8
+568,7
@@
VG_STATIC int _vg_crashscreen(void)
return 0;
}
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();
//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 ){
}
if( vg.loader_ring > 0.01f ){
- vg.loader_ring -= vg.time_frame_delta * 0.5f;
_vg_loader_render_ring( vg.loader_ring );
_vg_loader_render_ring( vg.loader_ring );
+ vg.loader_ring -= vg.time_frame_delta * 0.5f;
}
vg.time_frame_delta = 0.0;
}
vg.time_frame_delta = 0.0;