projects
/
vg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a655135
)
printf format wrong
author
hgn
<hgodden00@gmail.com>
Sun, 16 Apr 2023 23:13:24 +0000
(
00:13
+0100)
committer
hgn
<hgodden00@gmail.com>
Sun, 16 Apr 2023 23:13:24 +0000
(
00:13
+0100)
vg.h
patch
|
blob
|
history
diff --git
a/vg.h
b/vg.h
index 3ac8fe809aa9c16c6995372336c1c3a8b40f2b6f..45ae605be1005e77a7021132f4ae20bdc76a1641 100644
(file)
--- a/
vg.h
+++ b/
vg.h
@@
-546,7
+546,11
@@
VG_STATIC void _vg_gameloop_render(void)
"samples: %d\n"
"iterations: %d (acc: %.3fms%%)\n"
"time: real(%.2f) delta(%.2f) rate(%.2f)\n"
+#ifdef _WIN32
" extrap(%.2f) frame(%.2f) spin( %llu )\n",
+#else
+ " extrap(%.2f) frame(%.2f) spin( %lu )\n",
+#endif
vg.window_x, vg.window_y,
frame_target, (1.0f/(float)frame_target)*1000.0f,
vg.samples,