diff options
| author | Andre Weissflog <floooh@gmail.com> | 2021-12-27 15:07:50 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2021-12-27 15:07:50 +0100 |
| commit | 9b1b387c023f2d0720568637ea979d3e47500bb7 (patch) | |
| tree | 632eb5b47537152278884636b227fc3b716a354e /sokol_time.h | |
| parent | 693f2ebca079070fd785f2f22203c3e2c3a62558 (diff) | |
sokol_app.h, sokol_time.h: update header documentation
Diffstat (limited to 'sokol_time.h')
| -rw-r--r-- | sokol_time.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sokol_time.h b/sokol_time.h index 114e2903..2d4d4563 100644 --- a/sokol_time.h +++ b/sokol_time.h @@ -61,6 +61,8 @@ The main purpose of this function is to remove jitter/inaccuracies from measured frame times, and instead use the display refresh rate as frame duration. + NOTE: for more robust frame timing, consider using the + sokol_app.h function sapp_frame_duration() Use the following functions to convert a duration in ticks into useful time units: |