aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sources/TZR_DrawEnd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/TZR_DrawEnd.c b/sources/TZR_DrawEnd.c
index 070accd..85cdc64 100644
--- a/sources/TZR_DrawEnd.c
+++ b/sources/TZR_DrawEnd.c
@@ -67,6 +67,8 @@ TZR_DrawEnd(void)
if (___tzr_config.target_fps > 0) {
___tzr_next_time += ___tzr_min_dt;
+ if (___tzr_config.target_fps == 60 && ___tzr_tick % 3 < 2)
+ ___tzr_next_time += 1;
const unsigned long cur_time = SDL_GetTicks64();
if (___tzr_next_time <= cur_time)
___tzr_next_time = cur_time;